Beantwortet
How to read ASCII grid format
Use <http://www.mathworks.com/help/map/ref/arcgridread.html arcgridread()>. A bit of explanation for ESRI Arc ASCII Grid Form...

mehr als 9 Jahre vor | 0

Beantwortet
netcdf function is not working and the program keep showing this message
Well, you are using the command wrong. *netcdf(file_name)* is not a command. Note that MATLAB version 2010a was only suppo...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
Basic Shift Cipher Decryption Algorithm HELP!
Use mode or reminder to loop over certain range of numbers. Something like this: % A --> 65 % Z --> 90 % a --> 97 ...

mehr als 9 Jahre vor | 2

| akzeptiert

Beantwortet
how can i split an image into 25 blocks using for loop?
B = im2col(your_image,[m n],'distinct'); B=B(:)'; m and n are the image block sizes. B at the end is one row vector w...

mehr als 9 Jahre vor | 0

| akzeptiert

Gesendet


Curvilinear 2D Grid Poisson
Produces the laplacian operator in 2D Curvilinear grid with Robin boundary condition

mehr als 9 Jahre vor | 2 Downloads |

Thumbnail

Gesendet


2D and 3D Remapping
Creates Remapper (Interpolant/Extrapolant) for efficient mapping of data on 2D and 3D grids.

mehr als 9 Jahre vor | 2 Downloads |

Thumbnail

Beantwortet
Mean line of object boundary
Another Approach could be this: B1=bwmorph(logical( round( double(imread('1_1.bmp'))/255 ) ),'skel','inf'); B2=bwmorph...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
Get structure elements across fields
% Making sample data s(1).field1=1; s(1).field2=2; s(1).field3=3; s(2).field1=4; s(2).field2=5; s(2).field3=...

mehr als 9 Jahre vor | 1

| akzeptiert

Beantwortet
how to select a specified region in an image based on location and calculate its area
use <http://www.mathworks.com/help/images/ref/roipoly.html p=roipoly()> to draw a polygon around the area you want to measure it...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
Interpolating a whole matrix
% Making a sample data set A(1,:,:)=ones(3,3); A(2,:,:)=ones(3,3)*2; A(3,:,:)=ones(3,3)*3; %% time=0.1:0.1:...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
2D Transient Heat Conduction with neumann condition
Are you using MATLABs PDE solver? or do you have a special code for yourself. How you impose a boundary condition is highly d...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
How do I make a cylinder with base (2,0,1) and radius 2?
use <http://www.mathworks.com/help/matlab/ref/cylinder.html [x,y,z]=cylinder(radius)> where radius=2; Then to move the base t...

mehr als 9 Jahre vor | 2

| akzeptiert

Beantwortet
need hole filling methematical algorithm?
use <http://www.mathworks.com/help/images/ref/imfill.html imfill()> function.

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
Hello, I tried to simulate this code in Matlab, but I couldn't and I don't know where is the problem? could anyone help me please?
change: A=(cos(pi*Rb*t))/(1-(2*Rb*t)^2); to A=(cos(pi*Rb*t))./(1-(2*Rb*t)^2); Then change p=Rb*A*sinc(pi*Rb...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
Best book for beginners
I think the best starting point is *MATLAB Primer* by MATHWORKS: http://www.mathworks.com/help/releases/R2014b/pdf_doc/matlab...

mehr als 9 Jahre vor | 7

| akzeptiert

Beantwortet
Selecting random points from data file
x = [1:0.1:1000]; x_every10th=x(10:10:numel(x)); x_every20th=x(20:20:numel(x)); x_every50th=x(50:50:numel(x)); ...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
How to get rid of spaces between string?
Pam: You have two options: *Option (1)* MC_1 ... MC_Z had a white space at end of them. Remove them. If I remember correctly...

mehr als 9 Jahre vor | 1

| akzeptiert

Beantwortet
fit a curve to data without using curve fitting toolbox
Assuming your X1 and X2 are vector, i.e. size(x1)=size(x2)=[N 1] and N>=5 (since there are 5 coefficients, A1 to A5); then ...

mehr als 9 Jahre vor | 1

| akzeptiert

Beantwortet
How to identify noise in medical image?
May be this could be useful in your case <http://www.mathworks.com/matlabcentral/fileexchange/36921-noise-level-estimation-f...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
how to store 2*2 multi images to create a single image of size 250*250?
(1) you forgot the attachment (2) instead of dividing your image into blocks using nested loops use <http://www.mathworks.com...

mehr als 9 Jahre vor | 0

| akzeptiert

Frage


Uploading documentation to File Exchange?
How can I upload documentation to file exchange? I noticed some file exchange files have documentation attached to it (next to l...

mehr als 9 Jahre vor | 1 Antwort | 1

1

Antwort

Beantwortet
How can I project a 3-D sphere onto a 2-D surface?
This is called map projection. There are multiple methods. check any map projection resource. The best resource is perhaps th...

mehr als 9 Jahre vor | 4

| akzeptiert

Beantwortet
Grid data into monthly average?
You are on right track: Use this: % Making some sample random data A=rand(180,360,384); % reshaping Areshaped...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
I can Not include my condition
Ok, now I get it (I think). You have four points, and lines connected between each two points are elements. (so in case of fo...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
How can I interpolate my data?
Use <http://www.mathworks.com/help/matlab/ref/interp1.html interp1()>. this seems the most appropriate one for your data set.

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
Combining char and num variables
You need to use cell arrays a='No.'; %(Character/String Value) b=[1:10]'; %(Numeric Value) c={a b}; Note the cur...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
how to check whether the variable is present or not ?
Works on mine. Try this code. clear;clc;close all checkVariable1= exist('lbl_edge','var'); if checkVariable1==1 ...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
Why can't I plot a simple line???
Well, if you change plot(0,0:1:30,'r-') to plot(zeros(1,31),0:1:30,'r-') it would generate a line. However, ...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
Can't append variables to large .mat files?
Refer to <http://www.mathworks.com/help/matlab/ref/save.html save()> command. Scroll down to version. Most possibly you need to ...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
storing image blocks as rows in new matrix
not sure if this is what you want so TiledIm = im2col(rgbImage,[blockSizeR blockSizeC],'sliding'); rearranges image...

mehr als 9 Jahre vor | 0

| akzeptiert

Mehr laden