Answered
my code is running but it didn't display the graph even if it put the x and y value in the axis. here is my code
x is scalar. That is main reason. use linspace command to create different samples between xd1 and xd2. e.g, linspace(xd1,xd...

más de 3 años ago | 0

Answered
How can I solve this PDE equation?
<https://in.mathworks.com/help/matlab/math/partial-differential-equations.html>

más de 3 años ago | 0

| accepted

Answered
The scope in Simulink does not show any thing!
Did you run the model??

más de 3 años ago | 0

Answered
How can I plot this equation in matlab?
USe for loop for n. X and t can be vector. t=0:0.01:3; x=0:(pi/100):pi; for n=1:20 end

más de 3 años ago | 0

Answered
Move legend to middle of figure
In figure editor, you can move legend. (Edit-> Figure properties -> click on legend)

más de 3 años ago | 1

Answered
Use of an existing function as a objective function?
You can call Simulink model using sim function in objective function. In Simulink model, you can store that variable (to workspa...

más de 3 años ago | 0

Solved


I told you not separate me, but you did :( - ACDC
Given input vector, output it's DC and AC value Example: input = 0 1 -1 0 ac = 0 1 -1 0 dc = 0

más de 3 años ago

Answered
cannot install arduino library in matlab 2015a?
You need to delete this folder, Make sure that folder is not in path tool. Or easy way, install in new folder...

más de 3 años ago | 0

| accepted

Answered
inserting multiple values in simulink
see help of gain block, you will be able to solve your issue.

más de 3 años ago | 0

Answered
Adding Latex Code?
You can use following link for checking <https://www.codecogs.com/latex/eqneditor.php> your equation, or making equation

más de 3 años ago | 1

Answered
How to prevent Matlab from rounding small numbers to zero?
Check the code once again. You can see code of xcorr function using edit xcorr

más de 3 años ago | 0

Answered
I can't drag and drop mat file into workspace
Check following link <http://answers.microsoft.com/en-us/windows/forum/windows_10-start/how-to-fix-drag-and-drop-in-windows-...

más de 3 años ago | 0

Answered
Simple problem using for loop/array
May be, you can you debug your program. Give completer code to give solution

más de 3 años ago | 0

Answered
select a row from a matrix
a=ones(90,12); j=1; for i=1:3:87 if a(i+1,12)<a(i,12) & a(i+1,9)>0 b(j,:)=a(i+1,:); elseif cond b(j,:)=a(i+2,...

más de 3 años ago | 0

| accepted

Answered
xlsread - Undefined function 'dec2base27
Dear Andre, Restart the laptop. It may work.. :))

más de 3 años ago | 0

Answered
Connecting line between different points obtained from a for-loop
<http://in.mathworks.com/matlabcentral/newsreader/view_thread/1588> This will work for your case !! All the best !!

más de 3 años ago | 0

Answered
Matrix in app designer
Try to call matlab function.

más de 3 años ago | 0

Answered
fmincon computes all the outputs even with a failed step.
Hi, First thing, there should be only one output value from your objective function for single objective function. <https://...

más de 3 años ago | 0

Answered
There was a problem sending the command to the program
Open the matlab first and then try to run program.

más de 3 años ago | 0

Answered
Out of Memory error!
<https://in.mathworks.com/help/matlab/matlab_prog/resolving-out-of-memory-errors.html> Try the stuff from this link

más de 3 años ago | 0

Answered
How can I write dft code from k = -3 ~ 3 for A = [1 7 5 11 15 19 8]?
It should be -3:3

más de 3 años ago | 0

Answered
Creating tables using loops
In each Interpolation step, A(end)=[]; This should work.

más de 3 años ago | 0

Answered
saving data to the file
Did you defined the variable xw,yw,rw?

más de 3 años ago | 0

Solved


Add Me To Death (Sum sum sum)
Given certain vector, sum of the input vector, get the sum of 2 adjacent numbers in the input, and sum of the output vector (wh...

más de 3 años ago

Solved


Back to Basics
Dot product of vectors. Given two vectors A and B, calculate their dot product. A=[1 2 3]; B=[3 2 1]; C=10;

más de 3 años ago

Solved


Pushing the envelope
Find the largest sized code to return... *nothing*.

más de 3 años ago

Solved


Calculate this one!
Using matlab calculate y y=(e^2)+100/20+sin(pi)

más de 3 años ago

Solved


Calculate z=x^2+y^2
There are z in (x,y). x=1:10;y=1:10 [x y]=meshgrid(x,y) Calculate x^2+y^2.

más de 3 años ago

Solved


Replace 0 to NaN!
In given matrix A=[1 nan nan; 2 2 nan; nan nan 1]; replace NaN to 0.

más de 3 años ago

Solved


Interpolate data!
There are two data that observed at two different location. x indicate position, d indicate value of data. x=[1 10] d=[2 ...

más de 3 años ago

Load more