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...

plus de 4 ans il y a | 0

A répondu
matlab code to solve ELIPTIC PDE

plus de 4 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...

plus de 4 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)); ...

plus de 4 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...

plus de 4 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...

plus de 4 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...

plus de 4 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(...

presque 5 ans il y a | 0

A répondu
How to solve error 9

presque 5 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...

presque 5 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...

presque 5 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_...

presque 5 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> ...

presque 5 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...

presque 5 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...

presque 5 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...

presque 5 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...

presque 5 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> ?

presque 5 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';

presque 5 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_.

presque 5 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...

presque 5 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...

presque 5 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...

presque 5 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')

presque 5 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...

presque 5 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]

presque 5 ans il y a | 1

| A accepté

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

presque 5 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 ...

environ 5 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....

environ 5 ans il y a | 2

| A accepté

A répondu
for loops for two variables (not nested loop)
You can use x=[x mean(y(i:i+99))];

environ 5 ans il y a | 0