Community Profile

photo

diadalina


Last seen: 10 mois il y a Actif depuis 2017

Statistiques

  • Thankful Level 4

Afficher les badges

Content Feed

Afficher par

Question


truncate at 10^-3
i have this code i want to truncate the solution at 10^-3 at each iteraion can anyone help me t0=0; y0=1; tn=1; h=0.1; t=[...

environ un an il y a | 1 réponse | 0

1

réponse

Question


i want to use while loop
can anyone help to convert this code to the while loop : n=5; for i=1:n for j=1:n if i+j-1>n H(i,j...

environ un an il y a | 1 réponse | 0

1

réponse

Question


Can anyone help ?
i want to calculate the solution of the following cauchy problem : y'(t)=1+t-y(t) t in[0,1] but i have this error can anyone h...

presque 2 ans il y a | 1 réponse | 0

0

réponse

Question


can anyone help to solve my problem ?
Here my code matlab, i'm trying to have a figure who looks like the below figure(two legends for the same graph and zoom in the ...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


any suggests, solutions ?
i have a set of parameters, and i want fo create a file function that containt all my parameters in order to use them in othe...

environ 4 ans il y a | 2 réponses | 0

2

réponses

Question


can anyone help me to find the error ?
syms x1 esp=10^-10; x0=0.5; nmax=100; df=@(x1)(diff(f(x1))) [ xapp,it] = newton(x0,esp,f,df,nmax) where: function [ xapp...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


can anyone tell whre is the error ?
x=-2*pi:0.01:2*pi %x2=-pi/2:3*pi/25:pi y=exp(x) z=sqrt(exp(-x)) figure(3) plot(x,y,'b','LineWidth',2,x,z,'r...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


Forming a block diagonal matrix of one certain matrix?
I have a matrix A which is m*n. I want to create a block tridiagonal matrices of size n*m whose diagonals elements are the matri...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


find max of vector
i want to find the maximum of a vector and its position, if i have for example v=[-1,3,4,5,-2,5] , the max is 5 but i have two p...

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Question


can anyone help explain to me ?
I want to calculate the sum value of sn, with different manner, using matlab , its exact value is equal , the first way is: t...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


How do you find the intersection points of two functions?
i have A=10+0.5*n; P=8*exp(1.02*n) where n=1:110 i want to find the point when P>A ,numerically and graphically

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


can anyone help me ?
here is a code matlab of one degree differential equation, i want to plot the error method for different values of N, can anyone...

presque 5 ans il y a | 1 réponse | 0

1

réponse

Question


can anyone help me ?
i want to plot these figures for different values of lambda_3,but matlab plot me just for one value can anyone tell me where is ...

presque 5 ans il y a | 1 réponse | 0

1

réponse

Question


how to plot this ?
i have a circle and i want to plot his half radius in the same figure can anyone help me : angle=linspace(0,2*pi,360); x=cos(a...

presque 5 ans il y a | 1 réponse | 0

1

réponse

Question


can anyone help me?
ca anyone provide me with books that contains exercices for beginners for Matlab please ?

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


how to create this matrix?
can anyone help me to construct this matrix blj=(-2)^j-l if l<j blj=1 if l=j blj=0 if l>j

plus de 5 ans il y a | 3 réponses | 0

3

réponses

Question


finding the max ?
i have a vector x=[-1,5,3,4,5] i want to calculate the max of the vector x and its position using the loop for, i want also t...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


how can we do this?
i want to calculate the maximum of vectors éléments and its position using the diff command, can any one help me ?

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


how to calculate Somme of vector elements ?
i would like to calculate the somme k=1:10^5 of 1/k^2,using the command sum, can anyone help me ?

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


what is the meaning of this result ?
can anyone explain to me the meaning of this : when i write real z matlab gives to me this : ans =122 real a ans =97

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


is there a matlab command that gives me the RGB matlab code of each pixel of a given image ?
such a given image ones(4,4) for example

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


can anyone suggest me a command that talks about how matlab performed an arithmetic operation (its steps to give us the final result) ?
such a given operation (1/2+1/3)/456*789

plus de 5 ans il y a | 3 réponses | 0

3

réponses

Question


can anyone help me please ?
can anyone solve me this problem, ican't detect the error ? D=0; d=0.3; if th==7.5 (D=d/0.6); %&& (K==0.15); ...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Question


I want to calculate a zero of a function, can anyone help me ?
as an example if we take x^3-8*x^2+17*x-10,i want to calculate this zero polynomial using dichotomy method but it does'nt give ...

environ 6 ans il y a | 2 réponses | 0

2

réponses

Question


Can anyone help to creat this vector ?
A vector is given by: V = [5; 17; 3; 8; 0; 1; 12; 15; 20; 6; 6; 4; 7; 16]. Write a program in the form of a script file, which d...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


can anyone help me to construct this matrix ?
i have a such vector W,and i want to construct a matrix, in the attached file i have the form that i want to got, can anyone hel...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


What is the difference between these commands ?
can anyone tell me the difference between plot3 and meshgrid and surf ?

plus de 6 ans il y a | 1 réponse | 1

1

réponse

Question


what is the difference between hold and plot of two curves in the same figure ?
i want to plot cos(x) and sin(x) in the same figure, i have two ways : i can write for example : X=0:pi, Y=cos(X); Z=sin(X...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Question


how to use the loop for?
i would like to use the loop for that looks for the maximum of a vector and its position without using the 'max.can anyone help ...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Question


how can i obtain this ?
i would like to use the command reshape to convert a vector v=11:99 to a matrix (9x9), how can i do this, can anyone help me ?

plus de 6 ans il y a | 2 réponses | 0

2

réponses

Charger plus