Réponse apportée
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...

plus de 10 ans il y a | 0

A soumis


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

plus de 10 ans il y a | 1 téléchargement |

0.0 / 5

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
Different way of displaying numbers
Try this for three decimal places: num2str(pi,'%0.3f')

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

A soumis


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

plus de 10 ans il y a | 2 téléchargements |

4.7 / 5
Thumbnail

A soumis


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

plus de 10 ans il y a | 1 téléchargement |

3.4 / 5
Thumbnail

Réponse apportée
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 = ...

plus de 10 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 1

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

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

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 3

| A accepté

Réponse apportée
Using epsilon in legend
Try this: title(' $\varepsilon_{21}$ ','interpreter','latex')

plus de 10 ans il y a | 1

Réponse apportée
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...

plus de 10 ans il y a | 1

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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 ...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 10 ans il y a | 0

Réponse apportée
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: ...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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:...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

A soumis


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

plus de 10 ans il y a | 1 téléchargement |

5.0 / 5
Thumbnail

Réponse apportée
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,...

plus de 10 ans il y a | 1

| A accepté

A soumis


bedhead
Subglacial pressure head or hydrostatic potential

plus de 10 ans il y a | 3 téléchargements |

0.0 / 5
Thumbnail

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 1

Charger plus