Community Profile

photo

alpedhuez


Last seen: Today
180 total contributions since 2017

alpedhuez's Badges

  • Thankful Level 4

View details...

Contributions in
View by

Question


create from a vector a vector of cumulative sums
Consider a vector [e1, e2, e3, e4,...] I want to create a vector [e1, e1+e2, e1+e2+e3,...] Is there any simpler way rather ...

ongeveer 6 uur ago | 2 answers | 0

2

answers

Question


Renaming file names using matlab
I have seen the page https://www.mathworks.com/matlabcentral/answers/338822-rename-files-using-matlab I have a folder A with f...

ongeveer 23 uur ago | 0 answers | 0

0

answers

Question


cumulatives of the dynamical system
Suppose I have where D(t) is the deaths at time t and solve the differential equation using ODE45. I now want to calculate t...

3 dagen ago | 1 answer | 0

1

answer

Question


Function that calls another function in LiveScript
In Livescript, can one write a function that calls another function both defined in the same script?

3 dagen ago | 1 answer | 0

1

answer

Question


can a new function be defined in the middle of livescript?
Can one define a function in the middle of LiveScript or does it have to be at the end of the script?

3 dagen ago | 1 answer | 0

1

answer

Question


Updating the parameter of ODE45
I have an ODE system such as b=1; f = @(t,x) -(b/N)*x(1)*x(2); ODE45 I want to write a loop that changes the value of b. But...

3 dagen ago | 1 answer | 0

1

answer

Question


plot when x variables are "strings"
I have created a following csv file Column 1 "EST 9AM (PST 6AM)", "EST 10AM (PST 7AM)",... Column 2 Temperature at these time ...

3 dagen ago | 1 answer | 0

1

answer

Question


add text to value of a plot, part 3
I have a spreadsheet column 1: January 3,4,5,... column 2: 1,2,3,... column 3; temperature of January 3,4,5,... I would li...

4 dagen ago | 1 answer | 0

1

answer

Question


add text to value of a plot, part 2
I have a plot with x axis takes the value January 1, January 2, .... and y axis takes the temperature of that day. In the x axis...

4 dagen ago | 1 answer | 0

1

answer

Question


subset the plot for the subset of x range
I have a plot of date time temperature from Jan1 to Dec 31. I want to create a plot of the same data for Jan 1 to Jun 31. Is the...

4 dagen ago | 2 answers | 0

2

answers

Question


add text to value of a plot
I have a plot with x axis takes the value 1, 2, 3,.... I want to add a text "day" to these values so that they will be "Day 1","...

4 dagen ago | 1 answer | 0

1

answer

Question


taking differences and moving averages
I have a spreadsheet with column 1 =date column 2 =temperature I now want to have column 3 = differences between today's t...

4 dagen ago | 1 answer | 0

1

answer

Question


specify axis limit to be nonneagtive
https://www.mathworks.com/help/matlab/creating_plots/change-axis-limits-of-graph.html discusses controling where data appears i...

4 dagen ago | 1 answer | 0

1

answer

Question


Plot: x axis and y axis values with commas as 1000 separators
This is a question about values of x axis and y axis in the plot. First, https://www.mathworks.com/matlabcentral/answers/466...

6 dagen ago | 1 answer | 0

1

answer

Question


How to make Livescript plots not superimposed
I have data T.date T.temperature T.date runs from January 1, 2019 to December 31, 2019. In the first section, I draw a plot...

6 dagen ago | 0 answers | 0

0

answers

Question


Select subset of dates
I have data T.date T.temperature T.date runs from January 1, 2019 to December 31, 2019. I now want to subset the date from ...

6 dagen ago | 1 answer | 0

1

answer

Question


Livescript: having an output below a section
In my current format of Livescript, I see that output at the right of the livescript. Is there any way to have an output of a se...

6 dagen ago | 1 answer | 0

1

answer

Question


how can one disable auto indent in Live Script?
I use livescript. I choose "Text" and then type "1." Then it will be auto-indented. How can one disable auto-indent in text of l...

7 dagen ago | 1 answer | 0

1

answer

Question


Can Matlab deal with adf file?
I need to deal with adf file for GIS. I have checked Q&A about adf file and Matlab. https://www.mathworks.com/help/map/ref/re...

15 dagen ago | 0 answers | 0

0

answers

Question


Heat map for the United States
Suppose I have a data of population at each county in the US. I would like to draw a heat map graph for the US. Is there a tool ...

18 dagen ago | 1 answer | 0

1

answer

Question


DDE23 with nonnegative constraints
https://stackoverflow.com/questions/6977107/solving-a-delay-differential-equation-dde-system-constrained-to-give-nonnegati asks...

27 dagen ago | 0 answers | 0

0

answers

Question


DDE23 error "Derivative and history vectors have different lengths"
lags = 1; tspan = [0 10]; sol = dde23(@ddefun, lags, @history, tspan); function dydt = ddefun(t,y,Z) % equation being solved ...

28 dagen ago | 0 answers | 0

0

answers

Question


variable in local function in livescript
In livescript, I define a=1; Then define a local function function y = multi(x) y = a*x; end This will give an error me...

28 dagen ago | 1 answer | 0

1

answer

Question


Changing the parameters of the dynamical system in the middle of simulation, Part 3
Previously, I have talked about the dynamical system using ODE45 f0to2 = @(t,x) [-x(1)*x(2);x(1)*x(2)-x(2);x(2)] f2toend = @(t...

28 dagen ago | 0 answers | 0

0

answers

Question


understanding DDE23 function format
I look at this example https://www.mathworks.com/help/matlab/math/dde-with-constant-delays.html DDE23 function has a format of ...

28 dagen ago | 1 answer | 0

1

answer

Question


Disable "suggestions" in Live Editor
When I edit variables using Live Editor, often it comes up wth "suggestions" with ? mark and information about the variable. How...

ongeveer een maand ago | 1 answer | 0

1

answer

Question


Display the terminal value on the plot
Suppose I have a plot x=1:0.01:10; y=x+1; plot(x,y) Then I want to have a terminal value of y on the plot like "the terminal...

ongeveer een maand ago | 1 answer | 0

1

answer

Question


Plot Line Style Error Message
I tried plot(x,y,'--','blue') with valid data x and y (that I can plot without these options) and got an error message of "...

ongeveer een maand ago | 1 answer | 0

1

answer

Question


ODE45 mesh grid
Suppose I want to solve f = @(t,x) [-x(1)*x(2);x(1)*x(2)-x(2);x(2)] [t,xa]=ode45(f,[0 6], [4 0.1 0]); Now I want to present...

ongeveer een maand ago | 1 answer | 0

1

answer

Question


Changing the parameters of the dynamical system in the middle of simulation, Part 2
In my previous question, I asked "suppose I want to run f = @(t,x) [-x(1)*x(2);x(1)*x(2)-x(2);x(2)] [t,xa]=ode45(f,[0 6], [4 ...

ongeveer een maand ago | 1 answer | 0

1

answer

Load more