Réponse apportée
Artificial/simulated key press
http://www.mathworks.com/matlabcentral/newsreader/view_thread/243113

environ 15 ans il y a | 2

Réponse apportée
Select Points of a Plot in GUI
Maybe this file on FEX can be helpful http://www.mathworks.com/matlabcentral/fileexchange/13857

environ 15 ans il y a | 0

| A accepté

Réponse apportée
How do I generate a vector of random integers without repeats and with j+2 constraints?
%constraints 1 2 3 x=[]; while(numel(x)~=64) %get more values until we get enough c=0; while(c==0) ...

environ 15 ans il y a | 0

Réponse apportée
Save a file copy of a script from within that script...
This is how you can do a backup of your m file everytime you run it but matlab already does that for you, if you want to keep se...

environ 15 ans il y a | 2

| A accepté

Réponse apportée
How to solve symbolic system of equations?
%'3*a + 4*b + 7*c + 11=0' -> '3*a + 4*b + 7*c = -11' %'5*a + 3*b + 3*c + 4=0' -> '5*a + 3*b + 3*c = -4' %'7*a + 13*b + 5...

environ 15 ans il y a | 0

Réponse apportée
Plot a matrix which has functions
disp('Executing the function, please wait') steps=0.05; %increase steps to speed up execution, accuracy will be lower %d...

environ 15 ans il y a | 0

Réponse apportée
Help with matrix indexing.
Lucy there's no need for any if statements or other fancy functions nrows=16 %choose the number of rows (horizontal lines...

environ 15 ans il y a | 0

Réponse apportée
How do I use randperm to produce a completely new sequence (no numbers in same place)?
b=randperm(5);t=0; for a=1:10 while(1) c=randperm(5); e=0; for d=1:5 if (i...

environ 15 ans il y a | 1

Réponse apportée
ztrans command changing sample period
easy question and easy answer syms t T ztrans(exp(-t*T)) ans = z/(z - 1/exp(T))

environ 15 ans il y a | 2

Réponse apportée
what does this u[1] represents in the following equation??
u[1] means first value of the input vector u I think simulink changed the way it represents u[1], open a Fcn block and see if i...

environ 15 ans il y a | 0

Réponse apportée
How do you randomize numbers but not have two consecutive numbers be the same?
Another implementation, please test it and report all possible errors function d=selpair(b,at,Tdet,r1) %The input at is ...

environ 15 ans il y a | 0

Réponse apportée
Can I install an earlier version of MATLAB on a system with a current version of MATLAB?
You can install several versions in the same OS.

environ 15 ans il y a | 1

| A accepté

Réponse apportée
plot with user defined marker
text(x,y,num2str(n)) %just the number n close to x y text(x,y,strcat('\leftarrow',num2str(n))) %with arrow pointing to point...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
Define a function for a system using Symbolic Math Toolbox
In a function, I didn't called it just y to avoid problems with variables having the same name of files, but you can call it y a...

environ 15 ans il y a | 0

Réponse apportée
Define a function for a system using Symbolic Math Toolbox
syms z t %funt='1'; %step %funt='t'; %ramp funt='t+1'; %shifted ramp %funt='t^2'; %parabole fz=@(x) ztrans(sym(x), t...

environ 15 ans il y a | 0

Réponse apportée
How do you randomize numbers but not have two consecutive numbers be the same?
Here's a better version, I included Matt Fig idea of the permutation, now my function can also randomize the rows of data and ap...

environ 15 ans il y a | 1

Réponse apportée
How do you randomize numbers but not have two consecutive numbers be the same?
function d=selpair(b,s) %The input b is a (s,2) matrix %The input s is the number of tones %The output d is the matrix b...

environ 15 ans il y a | 0

Réponse apportée
How do you randomize numbers but not have two consecutive numbers be the same?
function d=selpair(b,s) %The input a is a column matrix with even values %The input s is the number of pairs of values %...

environ 15 ans il y a | 0

Réponse apportée
How do you randomize numbers but not have two consecutive numbers be the same?
function d=selpair(b,s) %The input b is a column matrix with even values %The input s is the number of pairs of values %...

environ 15 ans il y a | 1

Réponse apportée
executable file?
doc compiler/mcc

environ 15 ans il y a | 0

| A accepté

Réponse apportée
How to pass data from one GUI to another?
I use this easy way for data sharing between GUIs %In the end of OpeningFcn of Main GUI setappdata(0,'HandleMainGUI',hO...

environ 15 ans il y a | 1

Réponse apportée
Command "impulse" behaving weird
You can find information about it by searching for Impulse Invariance in your MATLAB documentation: The impulse invariant mappi...

environ 15 ans il y a | 0

Réponse apportée
Why do I get the same numbers in "randn" function?
You get the same numbers because there's a default seed (0) for the random number generator but you can change it like this: ...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
How can I find what parameters are in an inline function.
Here's a new version that doesn't fail with the 'by' parameter and doesn't require the Curve Fitting toolbox or other besides Ma...

environ 15 ans il y a | 1

Réponse apportée
How can I find what parameters are in an inline function.
F = inline('x+y-z'); ~isempty(strfind(char(F),'y')) %put what you are looking for inside the '' The codes result is 1 if it...

environ 15 ans il y a | 1

Réponse apportée
I have created a GUI in Matlab for Amplitude Shift Keying and Im unable to implement some codes.?
%Now with support for inputs like this [0 1 0 1 1 1 0] and 0101110 clear clc b = input('Enter the Bit stream \n ','s'...

environ 15 ans il y a | 2

Réponse apportée
How can I create an integral calculator?
Symbolic Math Toolbox™ The int function should work

environ 15 ans il y a | 2

Réponse apportée
I have created a GUI in Matlab for Amplitude Shift Keying and Im unable to implement some codes.?
%formated properly and input fixed clear clc b = input('Enter the Bit stream \n ','s'); %b = [0 1 0 1 1 1 0]; n = nu...

environ 15 ans il y a | 1

Réponse apportée
Using matlab to find points on different curves and then join them up
%This is how you make a line interactively using left mouse button %you can see the coordinates of the points on the matlab ...

environ 15 ans il y a | 0

Réponse apportée
Symbolic Integration Help
Use the function syms to declare symbolic variables and subs to replace a variable with a specific value, you might also need to...

environ 15 ans il y a | 0

Charger plus