已回答
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...

10 years 前 | 0

已回答
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...

10 years 前 | 0

| 已接受

已回答
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 ...

10 years 前 | 2

| 已接受

已回答
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...

10 years 前 | 0

| 已接受

已提交


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

10 years 前 | 1 次下载 |

Thumbnail

已提交


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

10 years 前 | 1 次下载 |

Thumbnail

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

10 years 前 | 0

| 已接受

已回答
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=...

10 years 前 | 1

| 已接受

已回答
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...

10 years 前 | 0

| 已接受

已回答
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:...

10 years 前 | 0

| 已接受

已回答
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...

10 years 前 | 0

| 已接受

已回答
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...

10 years 前 | 2

| 已接受

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

10 years 前 | 0

| 已接受

已回答
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...

10 years 前 | 0

| 已接受

已回答
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...

10 years 前 | 7

| 已接受

已回答
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)); ...

10 years 前 | 0

| 已接受

已回答
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...

10 years 前 | 1

| 已接受

已回答
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 ...

10 years 前 | 1

| 已接受

已回答
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...

10 years 前 | 0

| 已接受

已回答
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...

10 years 前 | 0

| 已接受

提问


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...

10 years 前 | 1 个回答 | 1

1

个回答

已回答
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...

10 years 前 | 4

| 已接受

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

10 years 前 | 0

| 已接受

已回答
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...

10 years 前 | 0

| 已接受

已回答
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.

10 years 前 | 0

| 已接受

已回答
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...

10 years 前 | 0

| 已接受

已回答
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 ...

10 years 前 | 0

| 已接受

已回答
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, ...

10 years 前 | 0

| 已接受

已回答
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 ...

10 years 前 | 0

| 已接受

已回答
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...

10 years 前 | 0

| 已接受

加载更多