Réponse apportée
sin function strange problem
Perhaps you don't use the same value of p1.. HINT: sin(95000) ans = -0.9818 sin(9.5e4) ...

environ 13 ans il y a | 1

Réponse apportée
How can I draw double Y-axis on a time series plot
x = time; y = fch4; y1 = fco2; [ax,h1,h2] = plotyy(x,y,x,y1); set(h1,'color','r'); set(h2,'color','b');

environ 13 ans il y a | 0

Réponse apportée
How to create multiple matrix using for loop?
ya = [1,2,3,4,5,6,7,8,9,10]; for iy = 1:(length(ya)/2)+1 xa(iy,:) = ya(iy:4+iy); end

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Matlab does not give the right answer
Seems for me it has more to do with for run= 2:2 and for run= 1:1

plus de 13 ans il y a | 0

Réponse apportée
linear interpolation of matrix.
A beginner approach, %1.875 is the default sample rate n_col_def = (60/1.875); %row amount n_row_def = 2209; ...

plus de 13 ans il y a | 0

Réponse apportée
datenum and date conversion
Use datetick to show date and time in the axis of the plot.. (if that what you meant..)

plus de 13 ans il y a | 0

Réponse apportée
How to use 'goto' statement?
There is no goto function in matlab. The only goto is a user-defined function (script) <http://www.ma...

plus de 13 ans il y a | 1

Réponse apportée
How do I import specific row, column excel data to matlab?
xlsread(filename,sheet,xlRange)

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
How write multiple data output in excel sheet using xlswrite command
doc xlswrite

plus de 13 ans il y a | 0

Réponse apportée
How can I ask for a question with questdlg and allow the user to rotate a figure at the same time?
See the link, hope it helps, <http://www.mathworks.nl/matlabcentral/newsreader/view_thread/314299>

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
which packages do I need to use 'integral' function?
It is Matlab standard function, only available in R2012b.

plus de 13 ans il y a | 0

Réponse apportée
Marking the peak of a plot automatically without having to click on it
Possible, see <http://www.mathworks.ch/matlabcentral/fileexchange/25500-peakfinder>

plus de 13 ans il y a | 0

Question


Simulink: Setting Mask's tab visibility
Dear all, Recently i'm facing difficulty of setting the visibility of masked parameter. Here's my problem... I already ...

plus de 13 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
How to find a value in a list?
Unchecked.. test_val = [15 4 12;5 7 2;22 23 21;18 11 10;10 8 14;16 12 11;12 3 6;8 7 5;8 5 9;14 8 9;7 1 2;5 13 9;5 2 13;7 6 ...

plus de 13 ans il y a | 0

Réponse apportée
how to turn decimal numbers to integers
Use round() or fix() HTH,IH

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
matlab beginner: use FFT in matlab and get phase plot
I just skimmed over your code. I think the problem lies in plot(freq,angle(fft(X(:,3)))-angle(fft(X(:,2)))) it should ...

plus de 13 ans il y a | 0

Réponse apportée
Learning MATLAB GUI (sites, movies, books,...)
Below is extremely useful for learning GUI <http://www.mathworks.ch/matlabcentral/fileexchange/24861-41-complete-gui-examples...

plus de 13 ans il y a | 5

Réponse apportée
for loop become to while loop
doc while

plus de 13 ans il y a | 0

Réponse apportée
can not load mat file correctly
Why not use load('test.mat','x')

plus de 13 ans il y a | 0

Réponse apportée
I have simulink model with many parameters and I want to set thes parameters in M-file and then control them from the simulink model, for example by editing or clearing these parameters via block has link directly with the Mfile
Salem, If the blocks you tried to explain are initialize, clear, and edit blocks (green, red, and blue), they are not entire...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
scale the axis in graph obtained in gui window
Put set(handels.figure1,'xlimmode','auto') set(handels.figure1,'ylimmode','auto') after plot command. (handles....

plus de 13 ans il y a | 0

Réponse apportée
grid on in gui
Use grid on after every plot (/subplot) command.

plus de 13 ans il y a | 0

Réponse apportée
Simulink: 'from workspace' => 'scope' sample rate discrepancy
Both 'To Workspace' and 'Scope' block has 'Decimation' properties.. You can check if decimation value is similar.. HTH, ...

plus de 13 ans il y a | 2

| A accepté

Réponse apportée
Selecting all data with brush in a figure
Just a wild guess: - You already have the graph (.fig file) - and you need to retrieve the values of the graph Then...

plus de 13 ans il y a | 0

Réponse apportée
Drawing on a m-file via the command window; possible?
You might want check this: disp(a) HTH,IH

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Problem with calling upon a Simulink model from a GUI
How about, hws = get_param('invclean','ModelWorkspace') ; instead of hws = get_param(invclean,'modelworkspace') ;...

plus de 13 ans il y a | 1

A résolu


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

plus de 13 ans il y a

A résolu


All capital?
Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0

plus de 13 ans il y a

Réponse apportée
saving the data in excel
Hi, you can define sheet name on the xlswrite function. xlswrite(filename, M, sheet) I can imagine that you can put ...

plus de 13 ans il y a | 0

| A accepté

Charger plus