Community Profile

photo

Jovos


Con actividad desde 2016

Followers: 0   Following: 0

Estadísticas

  • Thankful Level 3

Ver insignias

Feeds

Ver por

Pregunta


Mean-Variance Optimization, constraint as matrix operation
Hi, I am trying to use the linprog function to solve the mean-variance problem. I am confused with the input of constraint forma...

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


LorenzSystem, ode23
Hi, I get a question to model the LorenzSystem. It has dx/dt = 10(y-x) dy/dt = -xz+28x-y dz/dt = xy-8z/3 ...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Modeling Lotka-Volterra using ode23
I have a question like this. I wonder if my code is correct. The Lotka-Volterra predator-prey model : dx/dt =px−qxy dy/...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Modeling the radio-active decay using ode23
Hi I got a question like this. The basic equation for modeling radio-active decay is : dx/dt =−rx where x is the amount of the...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


What does y= [40;0] mean?
What does the following code mean? y= [40;0];

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Functions and Plotting in GUI
Hi, I am trying to make a mortgage calculator. I used the guide to build. There are two problem. First Question: When I enter t...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


GUI guide edit box
Hi, I am making a simple GUI calculator. My question is after I set up the edit box. For example: amount = uicontrol('Style'...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Morph a graph into another graph?
Hi, I got a question asking me to smoothly morph the graph of y = x^2 + y^2 into a graph of y = -x^2 + y^2 and back again. I use...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Trying to plot x,y, but it says error in y = f(x);
function graph x = 1:100; y = f(x); plot(x,y); end function [y] = f(n) y = n * log2(n); end

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


What is a linear-linear plot, log-linear plot,linear-log plot and log-log plot?
I have a homework question like the following. I know how to plot the function using the syntax subplot. I just never learned th...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


X,Y vector should be the same size
Hi, I want to plot the data. But it keeps giving me errors. I wonder where it went wrong? filename = input('Please enter the...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Enter values into x array and y array
Hi, I have sorted the data out of the txt file. I wonder how could I enter the year and dat into an x and y array respectively s...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


reading data, loop and plot.
I'm trying to get the year and CO2 levels from a txt file, plot them on a x-y graph. I have a problem with my loop.The -99.99 va...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Index exceeds matrix dimensions
Hi, I'm trying to read the raw data from a txt file and making plot.The codes read the file as an array of strings. Then transfe...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Index exceeds matrix dimensions.
Hi, I'm trying to read the raw data from a txt file. Read the file as an array of strings. Then transfer string to num and get t...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Index exceeds matrix dimensions.
Hi, I'm trying to read the raw data from a txt file. Read the file as an array of strings. Then transfer string to num and get t...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Polyfit, polyval and plot
I am trying to fit the polynomials to the data with 0,1,2 degrees respectively and plot them on the same graph. I wonder why the...

alrededor de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


error using Polyfit, X and Y vectors must be the same size
plot(flip(AdjClose)) y = flip(AdjClose) x = 1:503; polyfit(y,x,0) x is a 503*1 double and y is a 1*503 double. I ...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta