Respondida
I am stuck trying to add together all the integers from -10 to 10 using a while-end loop.
If you must do this in a loop, create a variable called TotalSum. Before the loop, say TotalSum = 0; Then inside the...

más de 10 años hace | 0

Enviada


sortwith
Sort elements of several matrices corresponding to the sorting order of one matrix.

más de 10 años hace | 1 descarga |

0.0 / 5

Respondida
index must be a positive integer or logical.
In the loop you try to evaluate y(i+1)=y(i)+h(y(i),k) but |k| equals |0.45|, so that's the problem. Calling h(1...

más de 10 años hace | 0

Respondida
Different way of displaying numbers
Try this for three decimal places: num2str(pi,'%0.3f')

más de 10 años hace | 0

| aceptada

Respondida
How can i find elevation only from latitude and longitude point using matlab codes?
You'll need some sort of digital elevation model (DEM), which is a gridded elevation dataset. Depending on the resolution that ...

más de 10 años hace | 0

| aceptada

Respondida
TIFF format to DEM info
If you have the Mapping Toolbox you can use <http://www.mathworks.com/help/map/ref/geotiffinfo.html |geotiffinfo|> to get geospa...

más de 10 años hace | 0

Respondida
Hi, how can i read each point of lat lon of shapefile so that i can compare first point to next point for simplification process?
Use <http://www.mathworks.com/help/map/ref/shaperead.html |shaperead|> with the |'usegeocoords',true| option. The output will b...

más de 10 años hace | 0

Enviada


Draw a 3D airplane
Draw a very simple 3D airplane and animate it too

más de 10 años hace | 5 descargas |

4.7 / 5
Thumbnail

Enviada


Sound Pressure Level Calculator
Calculates sound pressure level in decibels, given a pressure signal in pascals.

más de 10 años hace | 2 descargas |

3.4 / 5
Thumbnail

Respondida
Matlab gives me a blank plot?
You're overwriting |Y| each time through the loop. If you want to keep the loop, try this: t=0:0.01:Ttotal ; for k = ...

más de 10 años hace | 1

| aceptada

Respondida
How do I change the projection of raster data in MATLAB?
Halushka, The <http://www.mathworks.com/help/map/ref/mfwdtran.html |mfwdtran|> and <http://www.mathworks.com/help/map/ref/mi...

más de 10 años hace | 1

Respondida
How can I plot polar stereographic projection?
I did this for the Antarctic in a function called <http://www.mathworks.com/matlabcentral/fileexchange/50126-daily-antarctic-sea...

más de 10 años hace | 0

| aceptada

Respondida
How to calculate Fourier Transform of an Image ?
You can use <http://www.mathworks.com/help/matlab/ref/fft2.html |fft2|>.

más de 10 años hace | 0

Respondida
Why are many of MATLAB's mapping functions reserved for data in geographic coordinates?
I think the answer to this question is that the Mapping Toolbox has never received due attention from TMW. I get the sense that...

más de 10 años hace | 3

| aceptada

Respondida
Using epsilon in legend
Try this: title(' $\varepsilon_{21}$ ','interpreter','latex')

más de 10 años hace | 1

Respondida
Form a tree view of path names?
Have you checked the file exchange site? There are a few options available, e.g. <http://www.mathworks.com/matlabcentral/fileex...

más de 10 años hace | 1

Respondida
Volume under an iso surface
This is a sum. Each grid cell has a volume which is its height x width x length. In your case height at a given row and column...

más de 10 años hace | 0

| aceptada

Respondida
How do you calculate average value of area within a polygon shapefile?
The title of this question and the text of the question seem to be different. I'll try to answer both. If you want the are...

más de 10 años hace | 1

| aceptada

Respondida
Why are the hour portions of my GMT times not being shown when I export data to Excel?
It looks like exporting dates and times to Excel might require <http://www.mathworks.com/help/matlab/import_export/when-to-conve...

más de 10 años hace | 0

Respondida
rank the columns by the means of nonzero values
Use the |mean| function and specify the dimension along which you want to calculate the means. Then use |sort| in the syntax ...

más de 10 años hace | 0

| aceptada

Respondida
colorbar/colormap issue
I'm guessing the problem is |imsc|. Is that a specialized function you created? What happens if you change that line to ...

más de 10 años hace | 0

Respondida
function or code can detect the increment of force equations ?
You could fit a least squares trend line over some predefined range to determine slope. % define some array of times: ...

más de 10 años hace | 0

| aceptada

Respondida
Plotting 1MHz sine wave
I see the problem. |1/N| is 1/64 and you're trying to populate a vector in steps of 1/N from 0 to 3e-6 when you do t = 0:...

más de 10 años hace | 0

Respondida
Map Plot with stem3 and worldmap and geoshow
A couple of notes: 1. Never use |quiverm| because it scales vectors as a function of latitude. It shrinks vectors toward th...

más de 10 años hace | 0

| aceptada

Enviada


L8read Landsat 8 Level 1 tiff reader
Easily read full or partial Landsat 8 .tiff images.

más de 10 años hace | 1 descarga |

5.0 / 5
Thumbnail

Respondida
How to populate complete time series with incomplete data
You can get a vector in |datenum| format by t = datenum(YEAR,1,DOY); and if you'd like you can get t into year, month,...

más de 10 años hace | 1

| aceptada

Enviada


bedhead
Subglacial pressure head or hydrostatic potential

más de 10 años hace | 3 descargas |

0.0 / 5
Thumbnail

Respondida
How to count values in a script?
You can indeed use |sum| if you design your script for it. I'm gonna simplify the problem and consider this case with three age...

más de 10 años hace | 0

Respondida
Combining 2 Matrixes to Run in Large Data Set
You define |utcStarts| and |utcEnds| twice, and the second time overwrites the first time. That's why Matlab says |utcStarts| g...

más de 10 años hace | 1

Cargar más