Question

plot not displaying figure

how can i plot func between the interval below , i don't have an image of the function anymore but the exact way the function wa...

7 giorni ago | 1 answer | 0

Question

line and column of the minimun element of a matrix

how do i find the position (line and column of the minimun element of a matrix) i have a matrix m= [5 1 -400; -6 100 -6; 2...

9 giorni ago | 1 answer | 0

Question

how can i determine angle between 2 variables

how can i do/calculate the angle like in the ss below ,i know rBx,rBy and g g=180/pi; teta1=300;teta2=320;teta3=40;teta4=10...

20 giorni ago | 1 answer | 0

Question

compacting a large number of plot lines

func0=@(x) 5/3*cosd(0)-5/2*cosd(x)+11/6-cosd(40-x); [phi0 valf]=fzero(func0,0); func20=@(x) 5/3*cosd(20)-5/2*cosd(x)+11/6-co...

circa un mese ago | 1 answer | 0

Question

dividing integrals using vpaintegral and syms

i'm supposed to do this and i wrote syms x r G=vpaintegral(x*r,0,1)/vpaintegral(r,0,1) % supposed to be approximately =0....

circa un mese ago | 1 answer | 0

Question

Integrating without using the symbolic toolbox

syms x f=log(45.*sin(x.^2) + cos(x)); % initial function g=sqrt(1+diff(f).^2); % requirement step 1 h=int(g,0,pi/2) ;% requi...

circa un mese ago | 1 answer | 0

Question

matlab commands/functions yearly

is there a way i can see which commands/functions come out each year ? for example i'm interested in commands that came out this...

circa 2 mesi ago | 1 answer | 0

Question

ode45 too many input arguments

so i got a function which i did as home work a few days ago tested it ,it ran ,now it doesn't want to run anymore i don't know ...

circa 2 mesi ago | 2 answers | 0

Question

Failure in initial objective function evaluation. LSQNONLIN cannot continue

so i'm supposed to do nonlinear regression to find the values of a,b and the equation y given the value of x small x=2.6 .i tri...

circa 2 mesi ago | 1 answer | 0

Question

determine the values of 2 unknowns through nonlinear regression and predict value of equation

I have to determine the value of 2 unknowns a and b through nonlinear regression and predict the value of the equation y for x=2...

circa 2 mesi ago | 1 answer | 0

Question

radius and height of a cylinder with given volume and cost per m^2

i've got a warehouse composed from a cylinder and a roof with the shape of 1/2 sphere and a total volume (i think , it wasn't s...

2 mesi ago | 1 answer | 0

Question

tried bisection method opinions ?

So i wrote a homework using the bisection method ,code functions, some opinions on if it's correct ? if not what should be impro...

2 mesi ago | 0 answers | 0

Question

what is wrong with the following code

i'm trying to do the jacobi method for some linear equations and i'm receiving NaN as a result %% Input data n=input('number ...

3 mesi ago | 0 answers | 0

Question

how to modify displayed result

so i've got my code all functioning and all,how can i get matlab do display/calculate the divisions from sol (solution)? if poss...

3 mesi ago | 1 answer | 0

Question

What is wrong with the code ?

i've got the base equations on the first 3 rows and the gauss-seidel on the last 3 rows , i tried writing a code that's like t...

3 mesi ago | 1 answer | 0

Question

Gauss-Seidel for solving linear equations

Apply 4 iterations, by the Gauss-Seidel iterative method, to solve the system of linear equations,Check the solutions by matri...

3 mesi ago | 0 answers | 0

Question

modifying/rounding/aproximating a number

i need a way to modify a number a=2.65987 into 2.6598 i tried round /fprintf , but both display as 2.6599 ,i need it badly ,i co...

3 mesi ago | 1 answer | 0

Question

b=fprintf how to

a=2.65987 ,after using the fprintf('%0.5g\n',a) i get the value i want being 2.6599 i tried doing b=fprintf('%0.5g\n',a) (...

3 mesi ago | 1 answer | 0

Question

how can i aproximate /modify long numbers

a=2.65987 b=abs(2.6599-2.65987) which equals 3.0000-e05 ,after using fprintf('%0.7f\n',Eabs) i got 0.0000300 how can i get from...

3 mesi ago | 1 answer | 0

Question

format short, format long, format short E, format long E, format rat

How can i represent a number let's say 1231312.1232323 with the formats long/short/long e /short e /rat more elegant or in a si...

3 mesi ago | 1 answer | 0

Question

Approximating /transforming /absolute error

input data r=3;h=8;Dv=0.1; Dr=(Dv/3)*(1/(1/3*pi*h*2*r)) the result is 6.6315e-04 , how do i transform /aproximate/etc the re...

3 mesi ago | 1 answer | 0