Beantwortet
How to run model form m-file and save final values
The 'Outport' will help you get the values in MATLAB Workspace. From there you can use it in your m-file. If you also want to sa...

mehr als 10 Jahre vor | 1

| akzeptiert

Beantwortet
i have oscillating signal at scope in simulink, how i can get the average of this signal?
Well, I don't think there is a Mean block or Average block for this operation. What you can do is use an 'Outport'. This will ta...

mehr als 10 Jahre vor | 0

Beantwortet
How to pause execution of program until a keypress
the command 'pause'. It pauses the program until keypress.

mehr als 10 Jahre vor | 4

Beantwortet
How can we join two matrices of two dimmention
C = horzcat(A,B); If A and Bb are the two matrices.

mehr als 10 Jahre vor | 0

Beantwortet
How can I skip initial value on continuously updating closed loop system?
This should work. I hope so.

mehr als 10 Jahre vor | 0

Beantwortet
Importing Excel-Spreadsheet with columns of NaN
Use xlsread. [num,txt,raw] = xlsread('filename.xlsx'); and then check with 'isnan' to get the corresponding column name.

mehr als 10 Jahre vor | 0

Beantwortet
Suppoase I have a data set t=1: 100( 1 to 100) and I want to get x=sin(2*pi*7.5*10^5*t); how to do that using for loop
for t = 1 : 100 x(t) = sin(2*pi*7.5*10^5*t); end

mehr als 10 Jahre vor | 0

Beantwortet
how to check significance testing?
That's because your conditions are wrong. If z>=2*t, then that means you have already satisfied the condition t<=z. And so you a...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
How can I skip initial value on continuously updating closed loop system?
You can specify the initial condition or value as 1 or whatever value you want for the integrator block. Just double click the i...

mehr als 10 Jahre vor | 0

Beantwortet
once matlab is closed is there any way to edit the gui which was working previously.
You should open the guide file of your GUI and change the position there.

mehr als 10 Jahre vor | 0

Beantwortet
what is the parameter to be change to 2 or 3 line only in single graph?
Use 'hold on' or you can also use the plot command as plot(x1,y1,x2,y2,...)

mehr als 10 Jahre vor | 0

Beantwortet
License checkout failed - License Manager Error -4
http://www.mathworks.de/matlabcentral/answers/101313-why-do-i-receive-the-error-license-manager-error-4

mehr als 10 Jahre vor | 0

Beantwortet
When saving a figure with 'print', not all of the figure is saved
I am not so sure, but are you passing the handles of the plot or the axes? That may be one reason. Also, out of curosity what is...

mehr als 10 Jahre vor | 0

Beantwortet
Importing figure to MATLAB GUI using handles??
When you know the handles of the axes in the GUI, you can plot the data in it. Something like plot(handles.axes_1,x,y);

mehr als 10 Jahre vor | 0

Beantwortet
how to read data directly from com port using matlab?
http://www.mathworks.de/de/help/matlab/matlab_external/writing-and-reading-data.html Its a pretty good link! Hope it helps!

mehr als 10 Jahre vor | 0

Beantwortet
Controlling which GUI is active/on top
http://www.mathworks.de/de/help/matlab/ref/figure.html?searchHighlight=figure I hope this helps!

fast 11 Jahre vor | 0

| akzeptiert

Frage


To design a user friendly GUI
Hello All I am trying to design a GUI in which the number of radio buttons change according to the number calculated by anoth...

fast 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to give two inputs to a state space system in simulink?
Hallo Everyone I have quite a simple doubt, but one that has been bugging me for quite a while. As the question states, I am ...

fast 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to maintain the precision of data?
I am working with data in the range of microns and although I can read it from the text file with precision, when I work with th...

etwa 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Reading data from a text file
Hallo I usually used load function to read text files. However, this time my text file has the first column as p1 p2 p3 and s...

etwa 11 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
Gui, m.file works but fig doesn't
This question has been asked before. http://www.mathworks.de/matlabcentral/answers/56203 this helped me in understanding the pro...

etwa 11 Jahre vor | 0

Beantwortet
How do I ensure that the fields within handles stay available throughout GUI Callbacks?
If you are having a problem of updating the handles, you should use guidata(handle to be updated, handles). Here it might be gui...

etwa 11 Jahre vor | 0

Beantwortet
Using Sum(W) ==1 as a condition in a function
I think all you need to do is to pass the value A,B,C,D,E,F,G,H,W when you call this function. It has got nothing to do with sum...

etwa 11 Jahre vor | 0

Beantwortet
Formatting exported text data
Precision should be followed by %f. For more info you could go to help dlmwrite or to know how to change the precision values go...

etwa 11 Jahre vor | 0

Beantwortet
Need help with calculating the minimum potential energy of two particles.
Hi there! Do you really want structures in your program? If not, then you should remove the punkt in between. %Variable dec...

etwa 11 Jahre vor | 0

| akzeptiert

Beantwortet
how can i assign few different calculation for a single pusshbutton
http://www.mathworks.de/de/help/matlab/creating_guis/program-the-simple-guide-gui.html?s_tid=doc_12b#f3-1000605 Follow this l...

etwa 11 Jahre vor | 0

Beantwortet
Calling and Using function file to adjust plots
You can save the tubeplot function in a file named as tubeplot.m and then use it as we normally use plot functions. I hope this ...

etwa 11 Jahre vor | 0

Beantwortet
how can i assign few different calculation for a single pusshbutton
In the callback function of the Push Button, you can use val = get(handles.popupmenu,'Value') and then use an if else statement ...

etwa 11 Jahre vor | 0

| akzeptiert

Beantwortet
How to store a number of arrays in excel file?
I used sprintf instead. And its working too. Thanks a lot. Also, isn't there any other method by which we can write all the data...

etwa 11 Jahre vor | 0

Frage


How to store a number of arrays in excel file?
Hallo Everyone I am writing data into an excel file. However, the range of the data to be stored keeps changing and I want to...

etwa 11 Jahre vor | 2 Antworten | 0

2

Antworten

Mehr laden