Answered
it doesn't work .so,what is the problem?
You did not say what the problem actually is. My _guess_ is that you are not calling it correctly. You have to have *|‘v’|* in...

9 years ago | 0

Answered
Error in identification of F28335 in matlab 2017
I don’t have that board and so have no experience with it. See the documentation on <https://www.mathworks.com/help/support...

9 years ago | 0

Answered
how to implement an equation involved with two summations (memory polynomial model) in matalb?
Search MATLAB Answers and you will find: <https://www.mathworks.com/matlabcentral/answers/289433-memory-polynomial-model-for-pow...

9 years ago | 0

Answered
In command window , use emelentary transformation to create a echelon matrix ?
See the documentation on the *|rref|* function. I am not certain what you want.

9 years ago | 0

Answered
How to Multiply a number to a row of matrix
Use *|bsxfun|* to multiply the first row by *|1|* (so it remains the same), and the second row by *|2|*: A = [ 1 2 3 ; 3 4...

9 years ago | 3

| accepted

Answered
Why does values of fft change when length changes?
You have zero-padded both of your *|‘x’|* signals, extending *|‘x1’|* from *|4|* to *|10|* by adding *|6|* zeros at the end, and...

9 years ago | 1

| accepted

Answered
ODE45 Integration tolerances...
The derivative increases significantly at *|t=6.931342e-01|*, so the solver cannot provide results with acceptable floating-poin...

9 years ago | 1

Answered
Color of Kaplan meiern with ecdf function
You cannot. Instead, ask for the outputs and plot the data yourself. *_Example_ —* rng default % for reproducibili...

9 years ago | 0

| accepted

Answered
Very simple 'if' statement with == operator not working
Welcome to the apparent inconsistencies of floating-point calculations. See the discussion in <http://matlab.wikia.com/wiki/FAQ...

9 years ago | 3

| accepted

Answered
please , i want to stop the inter for loop when (u >= uinf *0.999) and get the value of (j*dy ) how can i do that .
If you only want to stop iterating a loop, use the <https://www.mathworks.com/help/matlab/ref/break.html *|break|*> (link) funct...

9 years ago | 1

| accepted

Answered
hi everyone.if i have Y=4x4x5 , H=4x1x5 multimatrix, how can i compute the C in this formula Y*C=H ?
Matrix multiplication and other operations are only defined for 2D matrices. If you have a specific algorithm that will multipl...

9 years ago | 0

Answered
I have a multidimensional matrix
Try this: d = cat(3, a, b, c);

9 years ago | 0

Answered
how to get the index value of maximum peak in fft domain?
If you have the Signal Processing Toolbox, use the <https://www.mathworks.com/help/signal/ref/findpeaks.html *|findpeaks|*> (lin...

9 years ago | 1

Answered
Wrong plot with ode15s
You did nothing wrong, really. Try this: [t,y] = ode15s(@probleemvergelijking, [0 50], 1); semilogx(t,y) Your f...

9 years ago | 0

Answered
velocity response calculation by central difference approximation
See the documentation on the <https://www.mathworks.com/help/matlab/ref/gradient.html *|gradient|*> (link) function. It will do...

9 years ago | 0

Answered
Add constants in nlinfit
Writing your own objective function, you simply need to pass *|‘A’|* as a parameter. *_Example_ —* objfcn = @(B,x,A) ...

9 years ago | 0

| accepted

Answered
I need a hand with some graph function... :O
I am not certain what you want to do. You may not need to use *|hold|* at all. Try this: x = linspace(-1, 1); fig...

9 years ago | 0

| accepted

Answered
Compute the partial derivative numerically
See if the <https://www.mathworks.com/help/matlab/ref/gradient.html *|gradient|*> (link) function will do what you want: *_E...

9 years ago | 0

| accepted

Answered
3= 2*(e^x - e^-x)
Much simpler, because your equation is equivalent to *|4*sinh(x)|*: xarg = @(y) asinh(y/4) Result = xarg(3) Resu...

9 years ago | 1

Answered
reduce bandwidth with butterworth filter
See the documentation on the <https://www.mathworks.com/help/signal/ref/designfilt.html *|designfilt|*> (link) function.

9 years ago | 0

Answered
Please help me to overcome the error of the following code
Your posted code runs for me without error. This problem: >> [rows, columns] = size(B{i}) Error using size Too ...

9 years ago | 0

Answered
Add reference line to a Bode Plot
It is not worthwhile to attempt to do anything with the plots that *|bode|* and most — if not all — of the other Control System ...

9 years ago | 0

| accepted

Answered
How do I extract YData from a figure having two y axes
Try this: yyaxis left; x = linspace(0,1,10); y1 = x*2; plot(x, y1); yyaxis right y2 = sin(2*pi*x); plot(...

9 years ago | 1

| accepted

Answered
Getting -Inf when applying the mean to log values
One option is to use *|min(x)|* or *|min(abs(x))|* with _two_ outputs, so you can find at least one of the elements causing the ...

9 years ago | 0

| accepted

Answered
Non-sequential Hist Bins
I would experiment with the <https://www.mathworks.com/help/matlab/ref/histc.html *|histc|*> (link) function instead. It allows...

9 years ago | 0

Answered
what is the meaning of fitness function in genetic algoritham? is it similar to the fitness function
I have not heard of ‘fitness definition’ being described formally. It is most likely the situation describing ‘fitness’ in that...

9 years ago | 0

Answered
Problem splitting large array into smaller arrays
This works best with the *|findpeaks|* function: D = load('data.txt'); x = D(:,1); y = D(:,2); [pksp,locpix] ...

9 years ago | 0

| accepted

Answered
What must i do to fix it?
The error is in this line: % generating noisy signal y=[zeros(1,200),x,zeros(1,200)]+noise; The problem is that thi...

9 years ago | 0

| accepted

Answered
plot contour line of three variable ?
If the file is very large, probably the easiest way to see if your data are _gridded_ (such that the *|‘x’|* and *|‘y’|* values ...

9 years ago | 1

Answered
Finding the index of particular row in a matrix. Please explain what my code is doing?
*_‘[x,y]=find(A(:,1)==B) returns x=3,2,4 and y=1,2,2 --- is this searching only in first column for 2.2? what does x and y mean...

9 years ago | 0

| accepted

Load more