Answered
Not enough input arguments
disp(abs(V)) %change your lines to this disp(max(V))

7 years ago | 0

Answered
How do I save an array of strings preferably as a .mat file?
https://www.mathworks.com/help/matlab/ref/save.html#btox10b-1-version

7 years ago | 0

Answered
Complicated matlab for loop using user's input
str2func() should play a role here just look into the doc

7 years ago | 0

Answered
How to find all unique combinations of XxY and YxX matrix?
X=[5,6,7,8] ; Y=[7,8,9,10]; [x,y]=ndgrid(X,Y); %just flip X and Y if you want y and x result=[x(:) y(:)] ]Gives: result...

7 years ago | 0

Answered
Numerical Logical Statement Error
Just search with a tag floating-point and you will find lots explanations dealing with floating numbers , but obviously Us is le...

7 years ago | 0

Answered
int matlab don't calculate the answer
Matlab's symbolic engine was finding it difficult to solve the integral so convert it to numerical integration using matlabFunct...

7 years ago | 3

| accepted

Answered
plotting a Polynomial function
fplot(...) argument is your polynomial function with function handle @(a)

7 years ago | 0

Answered
Print the power of a vehicle with time array entries
t = 0:0.01:3; v = 5.*t; F=v; P = F.*v; fprintf('when time : %.2f -> Power => %.2f \n',t.',P.')

7 years ago | 1

Answered
Export numberic data from table to a text file in scientefic notation with specific formate
https://in.mathworks.com/help/matlab/ref/format.html#btixwz8-1_1

7 years ago | 0

Answered
Addition of specified array indexes in simulink
https://in.mathworks.com/matlabcentral/answers/170291-for-loop-in-simulink#answer_165261

7 years ago | 0

| accepted

Answered
I am asked to write a script M-file and a function M-file for the analytical solution of ODE.... without using matlab solvers... can anybody plz help me...??
Just solve it in paper and then just convert it to codes? why not use ode solvers - homework?

7 years ago | 0

| accepted

Answered
Which commands can I use to create plot for sin, cos, tan in same graph using subplots on the interval [-pi, pi]
Read subplot() , if you have doubts still try some code and ask: Same like your previous question use fplot(...,[,]) the square...

7 years ago | 1

| accepted

Answered
when i run the following code its showing an error that dimensions must agree
If you still have problem then use bsxfun() with mtimes and rdivide appropriately if your usig version prior to 2016b w=(2.3.^...

7 years ago | 0

| accepted

Answered
Which commands will I use to generate the following plot
syms .... fplot(...)

7 years ago | 1

| accepted

Answered
How can i plot files separately?
put figure before each plot command instead of subplots

7 years ago | 0

Answered
find intersection of graph
https://www.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections?focused=5165138&tab=function

7 years ago | 0

| accepted

Answered
how to Convert matrix to different dimension
reshape(yourmatrix,25,[])

7 years ago | 0

Answered
Create a table of one vector and a matrix
T=table([vector,matrix])

7 years ago | 0

Answered
How to fix "Attempted to access PETTotalKemptcatch(109,:); index out of bounds because size(PETTotalKemptcatch)=[108,5]" error?
It clearly states that you have 108 rows but you‘re trying to access 109th row ? Isn’t that clear?

7 years ago | 0

| accepted

Answered
Is it possible to make the fill of area under the curve using area() to be translucent or shaded?
https://in.mathworks.com/help/matlab/ref/matlab.graphics.chart.primitive.area-properties.html#buduadg-1-FaceAlpha

7 years ago | 1

| accepted

Answered
Index exceeds matrix dimensions.
Ftrain=db(:,[1,2]); ^---^----square brackets

7 years ago | 0

Answered
Please help! Error using sym/subsindex
I didn't get any error while running your code. The error arises when you index a variable using symbolic variable. >> syms de...

7 years ago | 0

Answered
How to check if a json file is empty or not in matlab?
https://in.mathworks.com/help/matlab/ref/exist.html https://in.mathworks.com/help/matlab/file-operations.html https://in.mathw...

7 years ago | 0

Answered
Solving a system of linear equations with a few known variables
See https://in.mathworks.com/matlabcentral/answers/297297-how-to-solve-a-system-of-equations-in-the-matlab?s_tid=answers_rc1-2_p...

7 years ago | 0

Answered
I can't find solution with solve fuction
You are solving system of non-linear equations so use fsolve() S21_dB = -3.4964; S21_deg = 2.1936; ...

7 years ago | 0

| accepted

Answered
Is there any solution to generate an orthogonal matrix for several matrices?
https://in.mathworks.com/matlabcentral/answers/381703-how-can-i-find-a-matrix-which-is-orthogonal-to-another-matrix#answer_30457...

7 years ago | 0

Answered
Can someone explain why no plot is showing up?
EDITED You don‘t get a plot because your plotting singular points in each iteration and without marker matlab assumes it‘s a li...

7 years ago | 0

| accepted

Answered
Impulse Response of a piecewise function
ifft() requires numerical approach wheras you feed in symbolic values therefore you need to convert the variables using subs() a...

7 years ago | 0

Answered
trying to get general solution for differential equation but keep getting error
See https://in.mathworks.com/help/symbolic/solve-a-single-differential-equation.html for better understanding and how to declare...

7 years ago | 0

Load more