photo

Jovos


Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


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...

nästan 8 år ago | 1 answer | 0

1

answer

Question


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 ...

mer än 8 år ago | 1 answer | 0

1

answer

Question


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/...

mer än 8 år ago | 1 answer | 0

1

answer

Question


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...

mer än 8 år ago | 1 answer | 0

1

answer

Question


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

mer än 8 år ago | 1 answer | 0

1

answer

Question


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...

mer än 8 år ago | 1 answer | 0

1

answer

Question


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'...

mer än 8 år ago | 1 answer | 0

1

answer

Question


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...

mer än 8 år ago | 1 answer | 0

1

answer

Question


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

mer än 8 år ago | 1 answer | 0

1

answer

Question


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...

mer än 8 år ago | 1 answer | 0

1

answer

Question


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...

nästan 9 år ago | 1 answer | 0

1

answer

Question


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...

nästan 9 år ago | 1 answer | 0

1

answer

Question


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...

nästan 9 år ago | 1 answer | 0

1

answer

Question


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...

nästan 9 år ago | 1 answer | 0

1

answer

Question


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...

nästan 9 år ago | 1 answer | 0

1

answer

Question


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...

nästan 9 år ago | 1 answer | 0

1

answer

Question


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...

nästan 9 år ago | 2 answers | 0

2

answers

Question


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 ...

nästan 9 år ago | 1 answer | 0

1

answer