Question


Parsing a 3d array into 2d array in text file
I want to extract *17 text files* (with name *output_no.txt* , where no is from 0 to 16) each of which consist on three columns,...

10 years ago | 1 answer | 0

1

answer

Answered
accumarray error: Index into matrix must be positive
read <http://www.mathworks.com/help/matlab/ref/accumarray.html#bt4vyph-2 accumarray>

10 years ago | 0

Answered
3 D plot in Matlab
http://www.mathworks.com/help/matlab/ref/plot3.html http://www.mathworks.com/help/matlab/2-and-3d-plots.html http://www.ma...

10 years ago | 0

Answered
generate floating random number within a range with a mean
use rand() function

10 years ago | 0

Answered
how to convert a gray level to another gray level in matlab?
my_image =imread('YourImage.tif'); for R=1:num of Rows for C=1:num of Columns pixel=my_image(R,C); ...

10 years ago | 0

Answered
How to change plot background color for some datapoints?
http://www.mathworks.com/matlabcentral/answers/96023-how-do-i-add-a-background-image-to-my-gui-or-figure-window http://www.ma...

10 years ago | 1

Answered
i want to select particular bounding boxes with particular height and width.
one way is to use paint or adobe Photoshop. Use crop tab to extract particular feature from image

10 years ago | 0

Answered
How to find center of circles in image?
http://www.mathworks.com/matlabcentral/answers/122579-i-am-new-to-matlab-and-i-am-required-to-plot-a-circle-in-matlab-and-mark-i...

10 years ago | 0

Answered
RMS of non sinusoidal wave
in order to calculate some RMS error for your signal, you require two points (1) YourOrginalSignal (2) ExtimatedSignal ...

10 years ago | 0

Answered
How do you write to a fopen text file without deleting previous text?
do not use r+ read reason form <http://www.mathworks.com/help/matlab/ref/fopen.html#inputarg_permission documentation here> ...

10 years ago | 1

Answered
Showing " MATLAB has encountered an internal problem and needs to shutdown " and shuts down.
Try this *link*: http://www.mathworks.com/company/aboutus/contact_us/?s_tid=gn_cntus You can also send an email to support@ma...

10 years ago | 1

Answered
How to I convert this to a 2d array?
Solution is here http://www.mathworks.com/matlabcentral/answers/263987-conversion-of-3d-array-to-2d-array-in-text-file Ple...

10 years ago | 0

Answered
why I cant run this program?
mark this line as comment %Total sampling time = 1 second

10 years ago | 0

| accepted

Answered
Why do I get an error when I enter f1(x)?
program which are writing is logically flaw. You have generated random no. Which is decimal not integral. While f1(x) means you ...

10 years ago | 0

Answered
Hi we got a homework i dont know what to do :(
make a function like mypyramid which takes lengths of its base and height and by using formula Volumn=1/3(base area)*height...

10 years ago | 0

Question


RMS error and Mean absolute error from text files
There are *24 text files* name from interpot_linear_00.txt to interpot_linear_24.txt in a folder. Each file consist on three col...

10 years ago | 2 answers | 0

2

answers

Answered
Delete zero columns in images
A= [ 1 0 2 3 4 ;0 0 5 4 3 ;5 0 7 6 5;3 0 4 3 0] A = 1 0 2 3 4 0 0 5 4 3 5...

10 years ago | 0

Answered
How can I read a 3 D 256*256*256 image file(.mat extension) ?
do not read *.mat* file with imread function. Please give imread(brain.tif) or any other format of image( like gpeg, jp...

10 years ago | 0

Answered
what's the difference between writing 1.0 and 1. or 2.0 and 2. ?
only the difference is of more significant no. Both are same, but 1.0 has two significant figures than 1.

10 years ago | 0

Answered
It is a absolute value or norme ?
depending the types of variables s,i,n may sure it whether it is norm value or absolute value. If you are dealing in complex, th...

10 years ago | 0

Answered
How to draw a circle and dot inside circle as shown in figure?
http://www.mathworks.com/matlabcentral/answers/122579-i-am-new-to-matlab-and-i-am-required-to-plot-a-circle-in-matlab-and-mark-i...

10 years ago | 0

Question


How to convert .NetCDF reterive from NCEP/NCAR to ASCII files of each month
I have air.mon.mean.nc file prepared by NCEP/NCAR. This file contain monthly temperature. I want to get temperature data in text...

10 years ago | 1 answer | 0

1

answer

Question


how to read multiple folders with a single text file and remove header and footer from this text file
I have 30 folders in *'E:\meta data\new\data _thesis\NCEP\potential_temperature'* directory. These folders are name from *1985 t...

10 years ago | 2 answers | 0

2

answers

Answered
How to sum elements in a vector according to the location information from another vector?
I have convert this question to a function. Please check it and tell me if not working function sum1=runsum(V,L) run...

10 years ago | 0

Answered
Free version for student.
http://matlab-mobile.en.malavida.com/android/ https://play.google.com/store/apps/details?id=com.mathworks.matlabmobile&hl=en ...

10 years ago | 0

Answered
How can I get nearest, bilinear and bicubic to the imtransform function?
Here is the *solution* http://www.mathworks.com/matlabcentral/answers/272129-bilinear-interpolation-of-2d-matrix http://ww...

10 years ago | 0

Answered
Given the set of points, let say (xo, yo), (x1, y1),.....,(xn, yn) how to find polynomial via spline interpolation (Cubic/quadratic)
try from this <http://www.mathworks.com/matlabcentral/answers/265845-1d-interpolation-from-multiple-text-files>

10 years ago | 0

Answered
Plot function not working (black screen)
correct this to code x=[1:100]; % mark square brackets in order to make a vector. >> plot(x,x) output is plot with st...

10 years ago | 0

Question


Inverse distance weighting on scatter data sets in matlab
I want to use *IDW interpolation* technique on my data set.As usual consist on text files. Name Output_00.text to Output_23.text...

10 years ago | 1 answer | 0

1

answer

Load more