Réponse apportée
Matlab Function Problem - Variable Storage
Hi, your functions _load_data_ and _analysis_ seem quite OK. the problem is how you call them. _load_data_ is a functio...

plus de 11 ans il y a | 0

Réponse apportée
How to get parent name of a child GUI component?
Hi, Actually, more than a double, _a_ is a handle. (try _ishandle(a)_) In your case, with a=get(handles.pushbutton6,'...

plus de 11 ans il y a | 2

| A accepté

Réponse apportée
Matlab Figure and TextBox
Hi, your image is drawn in an axe. you can just use _text_ load mandrill % demo image in matlab image(X); colormap...

plus de 11 ans il y a | 0

Réponse apportée
problem reading entire file with fscanf
Hi, You should use the import Wizard tool to generate a script or function which read your text file the way you need, or at ...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
load TXT file into column vectors with different types of data
Use the Import wizard tool (right click on your text file in the Current folder, then import data). I created a text file ...

plus de 11 ans il y a | 0

Réponse apportée
how to fix a nested for loop
your double loop is not using the index _Smax_. also, _k1_ is fixed in this double loop. this doesn't mean so much ? (and...

plus de 11 ans il y a | 0

Réponse apportée
how to fix a nested for loop
Hi Rosa, - the variable _Precipmmday_ is not defined in your code. - you should reedit your question with the code part fo...

plus de 11 ans il y a | 0

Réponse apportée
Specific numbers generation Simulink
Hi, In the _source_ library, use the _Repeating Sequence Stair_ block.

plus de 11 ans il y a | 0

Réponse apportée
input a function as a user input
Hi, you should try to use <http://www.mathworks.fr/help/matlab/ref/inputdlg.html inputdlg> , which creates a basic gui easy t...

plus de 11 ans il y a | 0

Réponse apportée
ploting 4 graphs for various constant values
Hi, you used _input_ with a second argument _'s'_, so _a_ is interpreted as a string and not a number for getting a string...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Hi, I wanted to see how I can solve the differential equation. A spring-mass system with damping in our explanation here. White noise input and a differential equation in order to resolve ode 45 is the Random function.
all about <http://www.mathworks.fr/help/matlab/ordinary-differential-equations.html ode>

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
How to adapt matlab with a new file format?
I'm no expert in image processing, but can't you just use _imread_ ? if you're really stuck, you should add an example attach...

plus de 11 ans il y a | 0

Réponse apportée
How to adapt matlab with a new file format?
Hi, What do you want to write in this file ? Text, formatted binary file ,... for a text, you can do the usual operation ...

plus de 11 ans il y a | 0

Réponse apportée
clear opened example models
What exactly do youo want to restore? if this is just one property, open the Simulink Library Browser, then File->Preferences...

plus de 11 ans il y a | 0

Réponse apportée
find and set simulink parameters for several blocks
I tried MyMosfetBlock = find_system('trial_model','SourceType','Mosfet') with the mdl you attached, and I got the resul...

plus de 11 ans il y a | 0

Réponse apportée
clear opened example models
Hello to close all system : bdclose('all')

plus de 11 ans il y a | 0

Réponse apportée
find and set simulink parameters for several blocks
Hi, try this MyMosfetBlock = find_system('trial_model','SourceType','Mosfet') specific property of your Mosfet block...

plus de 11 ans il y a | 0

Réponse apportée
Two ordinate axes on a single plot
your Ytick may still be there. Did you try to change the size of the figure ? otherwise, just get the handle of the axes : ...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Using a statement to identify a specific matrix with a given range of values.
Hi, for what I understand, you need something like if roud_atmosT>=15 || roud_atmosT<=17 matrix_name = sprintf('x...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Two ordinate axes on a single plot
something like plotyy(z,[CA,CB,CC],z,Conversion) % assuming CA,CB,CC are columns vectors. otherwise, transpose them.

plus de 11 ans il y a | 0

Réponse apportée
Create specific pulse Simulink
if you want to create a signal a bit more complicated, use the _signal builder_ instead. so you can easily change the number o...

plus de 11 ans il y a | 0

Réponse apportée
Create specific pulse Simulink
Hi, just use the _Step_ bloc from the _source_ library. steptime : 40 initial value : 1 final value : 0

plus de 11 ans il y a | 1

Réponse apportée
Two ordinate axes on a single plot
Hello, you need to use <http://www.mathworks.fr/help/rf/plotyy.html plotyy>, which does exactly what you're expecting.

plus de 11 ans il y a | 0

Réponse apportée
Solving Riccati differential equation with time variable matrix
Hi, look _example3_ in <http://www.mathworks.fr/help/matlab/ref/ode45.html ode45> your _Q_ is the same as _g_ in this exam...

plus de 11 ans il y a | 0

Réponse apportée
I have installed MATLAB 2007B but getting badlink
I guess MIL_handler is the name of a subsystem ? Before you open a mdl file containing blocks linked to librairies, you first...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
plotyy in for loop only plots half of the data
I think the use of plotyy is not appropriate in your case. you usually use it to plot only two data with high amplitude differe...

plus de 11 ans il y a | 0

Réponse apportée
plotyy in for loop only plots half of the data
Hi, Your data are not defined in the code you show, so I can't run it and just can to guess what the problem might be. Did...

plus de 11 ans il y a | 0

Réponse apportée
How to create a vector of the ratio of two successive Fibonacci numbers
Hi, try this figure; plot(f(2:end)./f(1:end-1))

plus de 11 ans il y a | 0

Réponse apportée
Function command y = f(x)
because you're trying to declare a function in the command window, which is impossible. a function can only be declared in a ...

plus de 11 ans il y a | 0

Réponse apportée
about reading strings with strread using a name of variable the string is allocated to
it seems that _A_ is a cell and not a string. for a string : A= 'capture_667.fit' [starting_number] = strread(A,'capt...

plus de 11 ans il y a | 0

| A accepté

Charger plus