Réponse apportée
I need help in how to write a program in a matlab?
Perhaps this will be a good place to start <http://www.mathworks.nl/help/matlab/getting-started-with-matlab.html>

plus de 12 ans il y a | 0

Réponse apportée
Running script for different datafiles consecutively
* clear _clc_ and _clear_ part from your script * * You need another _for loop_ encapsulating your current script * * Use ...

plus de 12 ans il y a | 0

Réponse apportée
Changing variable in a looped code
hint: doc eval

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
How Simulink block works? How to program it?
A good place to start is: <http://www.mathworks.nl/help/simulink/slref/integrator.html?searchHighlight=integrator>

plus de 12 ans il y a | 0

Réponse apportée
How can I include the permil (parts per thousand) symbol in a plot with the LaTex inpreter?
Jiro Doke's solution: slabel(['5 ',char(8240)])

plus de 12 ans il y a | 1

Réponse apportée
How can I create variables with for loop?
Use _eval_ To know more about eval function, type _doc eval_ in your command window. To know more about why you should avo...

plus de 12 ans il y a | 0

Réponse apportée
Matlab doesn't free memory
* Is the array uniform in size? * Do you preallocate the array first? * Create several "checkpoints" in your for loop by savin...

plus de 12 ans il y a | 0

Réponse apportée
In GUI, I have a push button. I want that when this push button is pressed a text file which created before opens automatically without choosing a file..
In pushbutton callback: open('C:\matlabcodes folder\readme.txt') HTH, IH

plus de 12 ans il y a | 0

Réponse apportée
Using Matlab for Input and Output and Excel for Calculation
You might want to check this: <http://www.mathworks.nl/products/excellink/>

plus de 12 ans il y a | 0

Réponse apportée
How to set simulink model parameter from GUI during simulation?
set_param('gui_variable/Gain','Gain', value); Is _value_ string?

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
what is wrong with my 'While' function
I ran your code and found: - Matlab is about precision, in terms that your while loops only _break_ if the _TT_ value is *ex...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Matlab starts debugging, I do not know why.
Hi, _all_ is one of the internal command in matlab. Rename your _all_ parameter to another name, and see if that helps..

plus de 12 ans il y a | 0

Réponse apportée
Summation of values > 1 in a cell array
sumVal = sum(cnt{1})-length(find(cnt{1}==1))

presque 13 ans il y a | 1

| A accepté

Réponse apportée
avoid reading files in alphabetical order Matlab dir
See this.. <http://www.mathworks.com/matlabcentral/fileexchange/10959>

presque 13 ans il y a | 1

| A accepté

Réponse apportée
Error using ==> plot Too many input arguments.
Both size and i are a matlab internal function. Do not name your variable with this name..

presque 13 ans il y a | 2

Réponse apportée
Matlab/simulink - Is there any block with only two states
i usually use two constant blocks and a switch. The first constant block is 1 and the other is 0. Then you can use switch to...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
Area under a plot (Integral)
I think you should use cumtrapz instead of trapz

presque 13 ans il y a | 0

| A accepté

Réponse apportée
Gui input and displaying string/char ?
Hi, For most of the people, the Matlab's GUI editor (GUIDE) is quite annoying. But if you want to learn more about GUIDE, se...

presque 13 ans il y a | 0

Réponse apportée
Plotting 4 column of data
Hi reza, How do you define the very inaccurate and ugly graph? can you post the resulted graph? By the way dou you need curve...

presque 13 ans il y a | 0

Réponse apportée
Remove rows or cols whose elements are all NaN
Haven't tried this, but it should works: A(isnan(A))=[];

presque 13 ans il y a | 0

Réponse apportée
Help understanding the erorr in a matlab code
Hi, _datMat_ is suppossed to be _dateMat_

presque 13 ans il y a | 0

Réponse apportée
Choosing between to cases
You're using it wrong.. Se.. <http://www.mathworks.nl/help/matlab/ref/switch.html>

environ 13 ans il y a | 1

Réponse apportée
How to use a matlab code in simulink block?
Check this out: <http://www.mathworks.nl/help/simulink/slref/matlabfunction.html>

environ 13 ans il y a | 0

Réponse apportée
read from CSV file-complex
Download this function from File Exchange: <http://www.mathworks.ch/matlabcentral/fileexchange/18430-txt2mat> And look i...

environ 13 ans il y a | 0

Réponse apportée
Saturation occurred in lookup table
It does sometime happenned on my model too. What i did to 'solve'the problem is by setting the _Lookup method_ to _Interpolat...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
How do I solve the error: Undefined variable "handles" or class "handles.edit21"?
Did you use any _clear_ -command family in your GUIDE code? Such as: clear clearvars clear all

environ 13 ans il y a | 0

Réponse apportée
if statement didn't executed in a loop
for i=1:length(time) k=i %correction on_tt = (on_t*(k+1))+(off_t*k) off_tt = (on_t*(k+1))+(off_t...

environ 13 ans il y a | 0

Réponse apportée
how to save values in matfile as array
stats=[ statmat1;statmat2;statmat3;......... statmat24;statmat25;statmat26];

environ 13 ans il y a | 0

Réponse apportée
Sorting values according to index
X = S(K)

environ 13 ans il y a | 0

Réponse apportée
Print a message if a condition is met
xa = [3;5;7;9;11;13;15;17]; ya = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]; res = ya(find(ya>xa(1)& ya<xa(end...

environ 13 ans il y a | 0

Charger plus