photo

Ani Asoyan


Last seen: etwa 3 Jahre vor Aktiv seit 2020

Followers: 0   Following: 0

Statistik

  • Thankful Level 4
  • First Review
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


how to plot inequality and their intersection ?
Hi. I want to plot these inequalities. x+y>=4 8*x-4*y>=-16 x>=2 y<=9 how can I plot them (the lines where they bind) and ...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to find the root of function?
Hi , I want to find the root of nonlinear function, without giving initial point. here is my .m file for parameters alpha=0.7...

etwa 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to solve this equation?
Hi. I want to solve this equation (find the root of this polynomial). How can I do that? h^0.66+0.0805*h=0.045

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


how to plot to some maximum axis level?
hi, I have variables with data, like x= 20,12,15,65,74,52,233 y=55,2,221,23,21,21,11 I have done a scatter plot and added a ...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to add trendline to scatterplot?
hi, I have 2 variables with data, like x=2 1 4 68 4 5 y=5 4 2 23 21 50 I want to add trendline to the scatter plot. how can...

fast 4 Jahre vor | 2 Antworten | 2

2

Antworten

Frage


How to change two variables in one loop?
Hi... I have something like this.. d(1)=0.3 a(1)=0.5 for i=1:5 /some code/ a(i+1)=a(i)-0.5*p d(i+1)=d(i)-0.3*...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to find argument value?
Hi, I have a, b vectors and rectangular grid made of them, I write a function and obtain function values on grid. How can I fin...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Why do I get a wrong value?
Hi.. here's my code x=[0.1, 0.5, 1] x_e=[0.1, 0.5, 1] g=x.^2+2*x_e g(2) x(find(g(2))) I want to find which x value corresp...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Why do I get this error? "indices must either be real positive integers or logicals."
hi, why do I get this error ? Subscript indices must either be real positive integers or logicals. Error in sev (line 27) ...

mehr als 4 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


What's wrong with my code?
here's my code.. syms a b=2; e=0.9; q=0.4; g=0.6; k=0; d=0.5; a=1:1:5; N(a) = (q*b*e/a-d*e)/((q^2)*(e^2)/a+2*e*g) pi(a)=(...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to plot with different calibrations?
Hi, I want to make subplots with different calibrations, syms a %a=2 b=2, e=0.9 , q=0.4, g=0.6, k=0, d=0.5 N(a) = (q*b*e/...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to get function value?
Hi I want to evaluate function and its derivative at a=2 , how to do that? syms a b=2 e=0.9 q=1.2 g=2 k=3 d=0.5 f=(q*b*...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to know results
I have a polynomial and parameters in it, a=2, c=1, d=2 , g=0.5, k=2 , f=2 e=[2,8,5,4] b=[1,2,3,4] p=[ -c.*k+ (f.^2)*(e.^2...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


how to connect coordinates?
Hi...I have these values. x=[1,2,3,4] y=[-2,0,-3,2,52,21,23] each value of x corresponds to more than one value of y.... I wa...

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


FInd the function root
How can I find the root of function without initial point? I have a parametrized function, with one variable, N a=@(N)(someth...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to find max and min value of a function ?
Hi ... I have a function u_g a=2; b=2; c=1; e=0.75 ; l=0.5; u_g = @(x, x_e, N)(-0.5*a*x.^2+b*(x-x_e)-c*(N.^l)+e*u_p(x,x_e,N));...

mehr als 4 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


How to set extremum value of parameter?
I have a loop in which I change the value of a parameter. how can I set maximum and minimum values for that parameter? for exa...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to ease conditions?
Hi .. In my code I have a result number (called "gov") on which I want to put conditions also there is a matrix with 25 colum...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


plot values in the loop
Hello my code is something like this p=3 for k=1:p %something if %something d=d+1 elseif %something ...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


plot variable values of loop
Hello I have a code like this for k=1:3 %something if %one condition d=d-2 if %the other conditi...

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Changing variable in the loop
Hi..this is my code....I wrote a loop for 3 iterations and in the loop I wrote if condition(in the very end) and based on that ...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to make a response for more than one period?
function response = f(n,p) if (p == 1) response = 'yes'; elseif (p == 2) response = 'no'; end This is my function...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


dir(cd)
What does dir(cd) stand for? files = dir(cd);

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to insert a function into anonymous function
I have two functions function a=f(x,y,z) y=x.^2+5*y+z end and b = @(x,y,z)(0.6*x+y.^3-z) I want to insert the first one ...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


find the element in matrix of intersecting vectors
Here's my code. I have а & b matrices, and A & B vectors that maximize a's rows and b's colums. also there is another matrix tha...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to combine matrices
I have two matrices: A & B ... I want to combine them so that every element will be near the other one's corresponding element. ...

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to make statements intersect
How can I make if command's statements intersect and after that receive the result. For example the answer for this code is 'noy...

fast 5 Jahre vor | 2 Antworten | 0

2

Antworten