photo

mohamed


Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


when i use regress(x,y),I obtain only one answer :shouldn't i get two answers which are the slope and y-intercept ? my code is x=[1 4 5 6];y=[4 6 7 9]
when i use regress(x,y),I obtain only one answer :shouldn't i get two answers which are the slope and y-intercept ? my code is ...

11 years ago | 0 answers | 0

0

answers

Question


regress(x,y) for least square regression of two variables x,y
when i use regress(x,y),I obtain only one answer :shouldn't i get two answers which are the slope and y-intercept ?

11 years ago | 2 answers | 0

2

answers

Question


I have values for three different variables Z ,X,Y : how can i get the least square regression equation of Z on X and Y
I have values for three different variables Z ,X,Y : how can i get the least square regression equation of Z on X and Y

11 years ago | 2 answers | 0

2

answers

Question


is there a function that returns the real root from a matrix that contains the roots of a function ?
i want to return the real root from a vector contains the roots of a function, this vector contains both imaginary and real root...

11 years ago | 1 answer | 0

1

answer

Question


i can't run this program , the output is (Saturation: LinearInterval: [NaN NaN]), i don't know the meaning of the ouput
%water saturation calculation Q=input('porosity of formation='); Rw=input('water resistivity='); Rt=input('true resis...

11 years ago | 1 answer | 0

1

answer

Question


how to put a limited value for an input ?
how to put a limited value for an input ? for example from (0 to 100) and if the user enter a value out of this range it will be...

11 years ago | 1 answer | 0

1

answer

Question


i got an error when i run this code ?
x=(1:100); for k=1:5 y(:,k)=k*log(x); end plot(x,y) the error is in the third line? i want to make a single plot for...

11 years ago | 2 answers | 0

2

answers

Question


multiplication table in matlab
I want to make the multiplication table using matlab ?

11 years ago | 5 answers | 0

5

answers

Question


the value of y in the while loop doesn't vary from the previous ?
>> n=2; >>t=520 >> r=5; >> p=1000; >> x=n*r*t/p; a=1; , b=2; >> y=n*r*t/(p+a*n^2/x^2))+n*b; while abs(x-y...

11 years ago | 1 answer | 0

1

answer