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

quasi 12 anni fa | 0

| accettato

Risposto
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...

quasi 12 anni fa | 0

Risposto
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...

quasi 12 anni fa | 0

Risposto
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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

| accettato

Risposto
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...

quasi 12 anni fa | 0

Risposto
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

quasi 12 anni fa | 0

Risposto
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...

quasi 12 anni fa | 0

| accettato

Risposto
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...

quasi 12 anni fa | 0

| accettato

Risposto
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...

quasi 12 anni fa | 0

Risposto
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...

quasi 12 anni fa | 0

Domanda


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...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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)=...

oltre 12 anni fa | 1 risposta | 0

1

risposta

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

oltre 12 anni fa | 0

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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')

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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')

oltre 12 anni fa | 3 risposte | 0

3

risposte

Domanda


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)

oltre 12 anni fa | 1 risposta | 0

1

risposta