Answered
what's the program mistake?
r=solve(b)

9 years ago | 0

| accepted

Answered
How do I use the ode45, oder23, and ode15 to solve an ODE?
these are numerical method for solving differential equations. first you should write your function in one editor then use one o...

9 years ago | 0

Answered
Help with this code
Tdata = [4 .6458 8 6.2; 5 .3324 13 6.7; 6 .2661 14 6.6; 7 .2216 16.5 5.6; 8 .2...

9 years ago | 0

Answered
how do i plot a graph in xy-plane?
h=6.25*10^(-34); x=-10:10; y=h*x; plot(x,y) grid on

9 years ago | 0

Answered
calculate the inv of a matric with one constant
syms t m = [3*t 0 0; 1 t 0;0 0 t]; inv(m)

9 years ago | 0

| accepted

Answered
How to find index of first 3 maximum number in matrix
m = [7;1;4;4;12;2;6;10;2]; temp = sort( m, 'descend' ); n = temp(1:3); for i=1:9 if n(1)==m(i) p1=i...

9 years ago | 0

Answered
I want to display name of variable in msgbox instead of its value. for example;
d1=3;d2=5;d3=2; y=[d1 d2 d3]; x=min(y) good luck

9 years ago | 0

Answered
Plot y^2 = x^2 + 1 (The expression to the left of the equals sign is not a valid target for an assignment.)
clear all clc; N = 10000; x = zeros(1,N); y1 = zeros(1,N); y2 = zeros(1,N); x = -5 + (5+5)*rand(1,N); for...

9 years ago | 0

| accepted

Answered
for loop to sum up the integer
try this: n = randi([5,9]); totalsum = 0; runsum = 0; for i=1:n int = input('Enter an integer between 1 and...

9 years ago | 0

| accepted

Answered
How do I change the browsing directory, when clicking the 'Open' icon in the editor, to the current working directory?
before open matlab do this: first copy your desired directory then right click on matlab icon, go to "properties" and paste you...

9 years ago | 0

Answered
Please help with following code i am new with matlab and don't understand the error
clear all clc; Eg = input('Enter your value for Eg(T) = '); x = input('Enter your lower range for T = '); y = inpu...

9 years ago | 0

Question


i want plot these three function but...
xb = linspace(0,1); ub =- 1.654e-9*xb^24 - 3.277e-9*xb^23 - 8.551e-9*xb^22 - 1.629e-8*xb^21 - 4.667e-8*xb^20 - 8.351e-8...

9 years ago | 1 answer | 0

1

answer

Question


How can i involve four cpu on running a program in matlab 2014?
when i use parpool or matlabpool,program uses only extra ram not cpu whatever i do,my program only uses 25% of cpu what should...

10 years ago | 1 answer | 0

1

answer

Question


what should i do that matlab show me this polynomial equation as well-behaved function?
p=(1589159942548036497100838460028171539306640625*x^15)/52130638256800268132081172288531220051070714690086221222248448 - (4395...

10 years ago | 1 answer | 0

1

answer

Question


what is my mistake?
syms x A=[x 2 1;1 0 -x;5 1 x]; x=-15:.1:15; plot(x,det(A)) grid on

10 years ago | 1 answer | 0

1

answer

Question


Why isn't the program run?
clear all clc; syms x f=sym(zeros(3,1)); g=sym(zeros(3,1)); h=sym(zeros(3,1)); f(1)=x; f(2)=x^3; f(3)=...

10 years ago | 1 answer | 0

1

answer

Answered
Undefined function or variable ' t ',how can I difine ' t ' correctly?
put syms t before giving function F to the program

10 years ago | 0

Question


How can i plot f(i),g(i),h(i) in one figure(i)?
I want to plot each three diagrams in one figure

10 years ago | 1 answer | 0

1

answer

Question


how can i solve this polynomial equation?
clear all clc; syms x A=[x 2 1;1 0 -x;5 1 x]; det(A) r=solve('det(A)==0','x')

10 years ago | 1 answer | 0

1

answer

Question


what's the program mistake?
clear all clc; syms x A=[x 2 1;1 0 -x;5 1 x]; b=det(A) r=solve('b=0','x')

10 years ago | 3 answers | 0

3

answers

Question


what's the program mistake?
clear all clc; syms a b c w=zeros(3,1); w(1,1)=3*a+b; w(2,1)=b+2; w(3,1)=c-a; disp(w) b=3; disp(w)

10 years ago | 1 answer | 0

1

answer