A répondu
MIMO feedback loop syntax
Did you try with the <https://fr.mathworks.com/help/control/ref/feedback.html feedback> function ?

environ 6 ans il y a | 0

A répondu
multiply mimo transfer function in Simulink
In figure 1, EGR is not the sum of the outputs of R11 and R12, but is a vector made of [outputR11 output R12]. So in your si...

environ 6 ans il y a | 0

A répondu
matlab code to solve ELIPTIC PDE
I recommend you to read <https://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-...

environ 6 ans il y a | 0

A répondu
How to make a GUI (guide) figure
Have a look here: <https://mathworks.com/help/matlab/guide-or-matlab-functions.html> <https://mathworks.com/videos/creatin...

environ 6 ans il y a | 0

A répondu
Subscript indices must either be real positive integers or logicals.
Did you define _i_ before calling this line ? Term3=(sumnr(X,G,tau,i)-X(i)*G(i,i)*tau(i,i))/(sumdr(X,G,i)-X(i)*G(i,i)); ...

environ 6 ans il y a | 0

A répondu
How can i find the index of a value in a matrix?
In the _find_ command, you can use: [row,col,v] = find() or you can use sub2ind and ind2sub functions to convert between...

environ 6 ans il y a | 0

A répondu
Move all NaN to end of matrix columns.
if you want to move all NaN to end of matrix you can use: sort(A) ans(:,:,1) = 1 1 2 2 3 3...

environ 6 ans il y a | 0

A répondu
Subplot for for loop
The help of <https://mathworks.com/help/matlab/ref/subplot.html> says: _subplot(m,n,p) divides the current figure into an m-b...

environ 6 ans il y a | 1

A répondu
How to add a "if not a number" expression to GUI error dialog
Are you searching for somethink like <https://mathworks.com/help/matlab/ref/isnan.html isnan> ? if isnan(P) errordlg(...

environ 6 ans il y a | 0

A répondu
How to solve error 9
Did you read <https://mathworks.com/matlabcentral/answers/99067-why-do-i-receive-license-manager-error-9> ?

environ 6 ans il y a | 0

A répondu
A = A(50:99,50:99) in matlab
Did you read <https://mathworks.com/help/matlab/math/matrix-indexing.html this> ? How is the matrix _A_ defined before this l...

environ 6 ans il y a | 0

| A accepté

A répondu
How to run embedded Matlab function in Simulink periodically
You can access the simulation time in your m function using : get_param('YourModel','SimulationTime') or you can use the...

environ 6 ans il y a | 0

| A accepté

A répondu
Could not find or load the Qt platform plugin "xcb".
Thanks for your answer. I got the same PATH from the terminal and from Matlab but on the linux terminal I don't have any "LD_...

environ 6 ans il y a | 0

A répondu
How to define transparency of errorbar?
Maybe you will find this interesting : <https://mathworks.com/matlabcentral/fileexchange/26311-raacampbell-shadederrorbar> ...

environ 6 ans il y a | 0

A résolu


Find the 9's Complement
Find the 9's complement of the given number. An example of how this works is <http://electrical4u.com/9s-complement-and-10s-c...

environ 6 ans il y a

A résolu


letter yes yes & letter no no
Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining...

environ 6 ans il y a

A résolu


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

environ 6 ans il y a

A résolu


Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

environ 6 ans il y a

A répondu
How to generate linear frequency modulation signal in matlab
Did you read <https://mathworks.com/help/phased/ug/linear-frequency-modulated-pulse-waveforms.html this> ?

environ 6 ans il y a | 0

A répondu
Scale the axis in a contourf plot/ change axis location
Maybe something like this : contour(...); ax=gca; ax.XAxisLocation='top';

plus de 6 ans il y a | 0

A répondu
how to find the transpose
for any vector or matrix _A_, _A'_ gives the transpose of _A_.

plus de 6 ans il y a | 0

A répondu
Matrix filling with for loop
For loop documentation : <https://fr.mathworks.com/help/matlab/ref/for.html?searchHighlight=for&s_tid=doc_srchtitle> f = ze...

plus de 6 ans il y a | 4

| A accepté

A répondu
Multiplying m*m*N matrix internally
prod performs element-wise multiplication. If you want matrix multiplication, you can use something like : A = ra...

plus de 6 ans il y a | 0

| A accepté

A répondu
What does x=randint(1,1,[1,n]); ?
I may be wrong, but I think _randint_ was part of the Communication System Toolbox and its functionality has been replaced by th...

plus de 6 ans il y a | 2

| A accepté

A répondu
Is it possible to print multiplication sign on a plot title?
Try with the _\times_ command like in this example : title('abc \times def')

plus de 6 ans il y a | 1

A répondu
How would I use fzeros in this?
If you read the documentation, you should have notice that second input argument must be a scalar or a 2-elements vector. Thi...

plus de 6 ans il y a | 0

A répondu
how can i extract the symbolic variable from a symbolic vector or matrix
syms f0 L r=f0*L*[1/6;2/3;1/6]; r = (L*f0)/6 (2*L*f0)/3 (L*f0)/6 and var=symvar(r) var = [ L, f0]

plus de 6 ans il y a | 1

| A accepté

A répondu
Plotting Problems with values bigger than...?
Try with A(A>10)

plus de 6 ans il y a | 0

| A accepté

A répondu
How to Mapping Values
Suppose you have : x=[3.35 3.4 3.8 3.9 4 4.08]; and you want to scale it to the interval [a b] a=1.4; b=4; you ...

plus de 6 ans il y a | 0

| A accepté

A répondu
how to plot a gaussian 1D in matlab
You can use Matlab function to construct Gaussian function : x = 0:0.1:10; y = gaussmf(x,[2 5]); plot(x,y) https://fr....

plus de 6 ans il y a | 3

| A accepté

Charger plus