![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/15247512_1554749190030_DEF.jpg)
Jess Lovering
Followers: 0 Following: 0
Statistica
0 Domande
15 Risposte
RANK
1.732
of 297.016
REPUTAZIONE
38
CONTRIBUTI
0 Domande
15 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
3
RANK
of 157.725
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Plot inside a function
In the code it looks like you have the plot within your for loop. You need an additional end before the plot line. Does that f...
oltre 5 anni fa | 1
| accettato
How to increase alphanumeric (i.e. NACA0012, NACA0013, NACA0014 etc)
You can loop through each value like this: for ii = 1:10 str = ['NACA' num2str(ii,'%04i')] disp(str) end Is that what you ...
oltre 5 anni fa | 0
Centering annotation over subplot?
You could try to use text instead and use the x and y limits instead of the axis position, see below: text((max(hLF1.XLim)-min(...
oltre 5 anni fa | 0
| accettato
I am working on homework. I am to prompt user for temperature in Celsius and then ask them to choose if they want it converted to F or C. I have this so far. It promted user for temp in C and converted to F before I started to add a while loop,
You could use the question dialogue box, see the example below. You could first prompt for the temperature number and then ask ...
oltre 5 anni fa | 0
| accettato
Plotting variable from NetCDF file
I noticed there is a comment note on this line about reversing the arrays: [lonG, latG] = ndgrid(lon, lat); %you might have to...
oltre 5 anni fa | 0
| accettato
Finding Y vector using a given X vector and a equation
You have to define your vector and then pass it into your equaiton but make sure to use .^ instead of ^ so that it goes element-...
oltre 5 anni fa | 0
Why am I getting an error trying to sort this array?
Are you using the variable name "sort" in another part of your code? This has happened to me in the past if I define a variable...
oltre 5 anni fa | 0
How do I use a for loop on ever element in an array?
I think that the below code is what you are asking about. Your if requirements seem like they may be off, however, so I changed...
oltre 5 anni fa | 1
| accettato
Using a colormap to match a contour to a histogram
Here is an example of what I think you are trying to do. It doesn't calculate the bar values for the contours - I assume you ha...
oltre 5 anni fa | 0
limit range of loop iteration
Do you mean that you want your loop to go through i = 0 to 47 and then 313 to 360? If that is what you want then you can just r...
oltre 5 anni fa | 0
| accettato
How to change color bar? how to keep initial abscisses values?
You can add this line at the end and see if that works: xticklabels(x);
oltre 5 anni fa | 0
How to change color bar? how to keep initial abscisses values?
To make sure I understand your intention - you want the colors to stay red, green, and blue and not default to the standard colo...
oltre 5 anni fa | 1
| accettato
How to have a variable format spec print length when using fprintf?
Would this work for what you need? MaxHeaderLength = max(cell2mat(columnheaderlength)); max_fmt_spec = ['%' num2str(MaxHeaderL...
oltre 5 anni fa | 0
| accettato
How to use curl for 2D-vector field correctly?
I think you might have to make those inputs into matrix format first with meshgrid. Then you can pass those directly into curl....
oltre 5 anni fa | 0
Plot time in format 00:00:00
Have you tried to use the duration function? plot(duration({'00:02:37.96469', '00:02:38.93659'}), [1 1], 'bx')
oltre 5 anni fa | 0