Answered
How to plot a function obtained after integrating a two-parameter function with respect to one parameter?
Use symbolic toolbox syms y t f=exp(-t*y) q=int(f,t,0,2) p=int(g,t,2,4) k=q+p M=cos(y) L=M*k ...

8 years ago | 1

| accepted

Answered
Is it possible to print color text in the command window?
yes its possible , see the link below: *Edited:* <https://www.mathworks.com/matlabcentral/fileexchange/24093-cprintf-display-f...

8 years ago | 0

| accepted

Question


undefined function or variable workspacefunc
*complete error message:* Too many input arguments. Warning: MATLAB did not appear to successfully set the search path...

8 years ago | 2 answers | 1

2

answers

Answered
How to obtain all the solutions of quadratic equations with multiple variables?
As you can see you got all the solutions , each variable has two solutions. So I don’t see anything wrong in it.

8 years ago | 0

Answered
Adding a constant to a stored value to create a new stored value.
D = randi([1,4],10000,1); y(1)=%something something... for i=2:numel(D) y(i)=y(i-1) % add someforulas acc...

8 years ago | 0

Answered
Why is Matlab giving me the code I just put in instead of an answer?
It means matlab (symbolic engine) is not able to solve your integral. Tried it in Wolfram it didn’t give back any results either...

8 years ago | 0

| accepted

Answered
How can I write a program that loads several data files in matrix form and executes a set of commands in an already written program and then stores all results in a single file?
Read the link below: <https://www.mathworks.com/matlabcentral/answers/424007-how-can-i-analyze-all-the-data-files-at-the-same...

8 years ago | 1

Answered
How do I do this exercise? Convert A into a 4x3 matrix
A=[2 7 9 7; 3 1 5 6; 8 1 2 5] A' reshape(A',4,3) Or reshape(A,4,3)

8 years ago | 0

Answered
i want viewsolidone code
See <https://www.mathworks.com/matlabcentral/answers/364068-viewsolid-m-and-viewsolidone-m-where-to-get#answer_288856>

8 years ago | 0

Answered
write a matrix to a .txt file
dlmwrite('inputs.txt',G) %easy and efficient, assuming datas are only double dlmwrite('outputs.txt',O)

8 years ago | 0

| accepted

Answered
Is it possible to write local function in a function?
It’s possible.See <https://www.mathworks.com/help/matlab/matlab_prog/nested-functions.html nested Function>

8 years ago | 0

Answered
Extracting elements from cell array of matrices
matrix{1,1} You can convert the whole matrix to matrix values as such : cell2mat(matrix) %assuming matrix contains d...

8 years ago | 0

Answered
Quadratic modular equation?
var = input('enter 2 by 2 matrix'); f = @(x) input('enter equation like 3*x.^2 + 4*x for example') f(var) Like this?

8 years ago | 0

| accepted

Answered
Matlab Control System Toolbox variable notations list
Read <https://www.mathworks.com/help/control/blocklist-alpha.html> <https://www.mathworks.com/help/control/functionlist.html>...

8 years ago | 0

Answered
How to compare elements of two equal size matrices by logical conditionals?
for i = 1:numel(A) if A(i)<=B(i) C(i) = A(i) else C(i) = B(i) end end

8 years ago | 0

| accepted

Answered
How to rewrite u(n+1) = u(n)+(h/2)*(f(x(n),u(n))+f(x(n+1),u(n+1)));
Might help *<https://in.mathworks.com/matlabcentral/answers/130653-code-of-euler-s-method#answer_137986 euler>*

8 years ago | 0

Answered
Undefined function or variable 'imageDatastore'
Read the below link: <https://in.mathworks.com/matlabcentral/answers/304961-undefined-function-imagedatastore-for-input-argum...

8 years ago | 0

Answered
How to check the existance of a struct field at a given index?
Read the below link: <https://in.mathworks.com/matlabcentral/answers/328326-check-if-any-field-in-a-given-structure-is-empty#...

8 years ago | 0

| accepted

Answered
fimplicit3が使えない場合の3変数方程式の描き方を教えてください。
*<https://in.mathworks.com/help/matlab/ref/ezplot3.html ezplot3()>* will work fine

8 years ago | 1

| accepted

Answered
How to read audio file in matlab 2017?
Try *<https://in.mathworks.com/help/matlab/ref/audioread.html audioread>* instead

8 years ago | 0

| accepted

Answered
Passing the variable is fast or creating the variable new variable is fast?
Passing the variable is better , see <https://www.mathworks.com/help/matlab/matlab_prog/preallocating-arrays.html preallocation>...

8 years ago | 0

| accepted

Answered
how i can get laplace from f = 4 in matlab?
laplace( sym(4) ) %edited after sir Walter’s comment

8 years ago | 0

Answered
ode solver error, too many argyments etc
[t,y] = ode15s(@rhs, tspan, ic, 'AbsTol', 1e-8, 'RelTol', 1e-7);

8 years ago | 0

Answered
How do i correct this mistake in my matlab program? Please help.
*ex(i / 3);* Should be an integer value not a float So try *ex(i)/3*

8 years ago | 0

Answered
error of matrix dimensions must agree
Use ./ instead of /

8 years ago | 1

| accepted

Answered
Why am I getting this error about vectors being the same length? Error in ==> plot_excel at 15 plot(X, F1);
folder='S:\TVC\MC10\Wedging\PN8604rA1\RTR FX01046 101118'; %folder location, change this to run elsewhere filetype = '*.xls...

8 years ago | 0

Answered
what is the purpose of (gradedata,2) and (gradedata,1) in the nested for loop
size(gradeData,2) %returns no of columns size(gradeData,1) % returns no of rows Purpose is to run the loop with exac...

8 years ago | 0

Answered
Run a code for all excel files in a folder?
Read the link below: <https://www.mathworks.com/matlabcentral/answers/424007-how-can-i-analyze-all-the-data-files-at-the-same-t...

8 years ago | 0

Load more