Réponse apportée
How do I find the percentage of a number of values within a decimal range?
This looks fine to me except the second line. set(handles.percentbox,'string', num2str(percent)); what is your x?

presque 9 ans il y a | 0

Réponse apportée
how to Write a program that prints out the numbers 5 through -5 in decreasing order.
a = [5:-1:-5]; disp(a);

presque 9 ans il y a | 0

| A accepté

Réponse apportée
Assigning values to signal stuctures inside a state
Refer this: http://in.mathworks.com/help/stateflow/ug/connect-structures-in-charts-to-external-bus-signals.html

presque 9 ans il y a | 0

Réponse apportée
How do I limit the values in an array?
>> a = [0.203 0.506 0.167 0.904 1.671 5.247 0.037 0.679]; >> a(a>1)=1

presque 9 ans il y a | 3

| A accepté

Réponse apportée
Converting mdf file to mat file
https://in.mathworks.com/matlabcentral/fileexchange/9622-mdf-import-tool-and-function

presque 9 ans il y a | 0

Réponse apportée
How to disable gridlines in excel sheet using matlab script
You have to use ActiveX % Create COM object for the current Sheet. objExcel=actxserver('excel.application'); objE...

presque 9 ans il y a | 1

Réponse apportée
How to create a user interface for a function in Matlab?
Contrary to popular opinion, i find MATLAB GUIde very useful to provide a GUI for my scripts/functions. try guide or...

presque 9 ans il y a | 2

Réponse apportée
Failure in script to import data automaticaly
Does the file exist? the error says it could not find the file. Try giving the full path. or check if the file exists using ...

presque 9 ans il y a | 0

Réponse apportée
How to make Tabs in Matlab GUI without using GUIDE?
uitab Example: fHdl = figure; objTbGrp = uitabgroup('Parent', fHdl); objTab = uitab('Parent', objTbGrp, 'Title...

presque 9 ans il y a | 0

| A accepté

Réponse apportée
How can I get an Excel with differentes rows each time I write a name in a GUI and I press the buttom "Save" to save the information in a row of an Excel file?
in the callback function of the save button, you will do an xlswrite. Something like this: function SaveButton_Callback(...

presque 9 ans il y a | 0

Réponse apportée
What error in this simple code? it says 'the statement is missing'?help a beginner
secperday=60*60*24; tau=1.5*secperday; endofclass=5*secperday; knowledgeatend=1-exp(-endofclass/tau); disp(['at th...

presque 9 ans il y a | 0

| A accepté

Réponse apportée
how to concatenate multiple dataset into a big matrix?
How are you reading the text file? Is the text file format fixed?

presque 9 ans il y a | 0

| A accepté

Réponse apportée
GUI question:Change data depending on ListBox choice
% get(handles.listbox1,'String') returns listbox1 contents as cell array. So the 'if' will not work. You should instead get ...

presque 9 ans il y a | 0

Réponse apportée
GUI question:Change data depending on ListBox choice
What is the tag of the pass button? I think you are trying to set both the 'String' and 'BackgroundColor' property. If yes, you ...

presque 9 ans il y a | 0

Réponse apportée
Turning a while loop into 1 line
newv_sol=v(v<30)

presque 9 ans il y a | 0

Réponse apportée
About linking an m file to a GUI
callbacks are simple function that execute on an event (for example a push button press). assume that you have value in an edit...

presque 9 ans il y a | 0

Réponse apportée
'test_one/Foreground/Integrator' has sample time [0, 0].
Normally, it is sufficient for the blocks to inherit the sample times from the source blocks. In other words, Set sample time t...

presque 9 ans il y a | 0

Réponse apportée
Else if Question with function
Check function if elseif To start with function op = f(x,y) if (x>=0 && y>=0) op=x+y; elseif(x>=0 ...

environ 9 ans il y a | 1

| A accepté

Réponse apportée
matching with data in cell array
[truefalse, index] = ismember('abc', {'xyz', 'abc', 'def', 'abc'}) This one?

environ 9 ans il y a | 2

Réponse apportée
how to get the model signals name length?
You can get all the inports and outports by find_system You can get the block name by get_param and then you c...

environ 9 ans il y a | 0

Réponse apportée
import excel file into test sequence block
Try SignalBuilder block in Simulink. Excel/Mat can be imported into it.

environ 9 ans il y a | 0

Réponse apportée
Matlab While loop help
You mean this? iPopulation = 400; iYr=1; while(iPopulation>25) iPopulation = floor(0.9*iPopulation); % = 10% d...

environ 9 ans il y a | 0

Réponse apportée
Why do I get the error "Undefined function or variable 'onCleanup'"?
Something is wrong with your path. onCleanUp resides here. It should be visible on startup. {MATLAB Installation Directory...

environ 9 ans il y a | 0

Réponse apportée
How to add rows to existing table in word, using ActiveX Server?
Normally, for any Microsoft tools, i would start record a macro, do what i need manually, stop the macro, edit it to see what ha...

environ 9 ans il y a | 0

Réponse apportée
How to communicate between 32 bit Matlab and 64 bit Matlab?
What do you mean by "Communicate"? You can let the first instance (32-bit) write the data to a file (mat/xls) and the second ...

environ 9 ans il y a | 0

Réponse apportée
Efficiently update MATLAB App Designer GUI real time from Simulink
one way is instead of event listners, you can let the model update the gui. For example, pause the model every cycle, read th...

environ 9 ans il y a | 0

Réponse apportée
Help with creating a for loop
BlockCount=5; Trials = 20; for iLoop1=1:BlockCount for iLoop2:1:Trials A(iLoop1, iLoop2) = find((iLoop1==1 & i...

environ 9 ans il y a | 0

Réponse apportée
How do we convert multiple csv files to execl file in matlab ?
orginal='D:\original' d=dir([orginal '\*.csv']); %Spelling mistake here files={d.name}; for k=1:numel(files) fi...

environ 9 ans il y a | 0

| A accepté

Réponse apportée
Add-ons in matlab R2012a
add ons? You mean scripts, apps and toolboxes? You may start here.. https://in.mathworks.com/matlabcentral/fileexchange/?s_...

environ 9 ans il y a | 0

| A accepté

Charger plus