Community Profile

photo

María Jesús


Active since 2014

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


error in a function, Error: In an assignment A(I) = B, the number of elements in B and I must be the same.
I have defined a piecewise function (below), where C1 (and hence x) is a vector. I don't understand why the error "In an assign...

meer dan 6 jaar ago | 2 answers | 1

2

answers

Question


How to solve error in pdepe
I'm using pdepe to solve a parabolic pde in (x,t). I'm getting an error for times bigger than 0.3, though it works fine for smal...

bijna 8 jaar ago | 1 answer | 0

1

answer

Question


choose line color based on intensity
Hi, I have a plot with several concentric circles, and a vector C which gives a value for each radius used. I would like each...

meer dan 8 jaar ago | 2 answers | 0

2

answers

Question


transforming matrix after change of variables
Hi, I have a matrix M(r, t), which I would like to transform into a matrix N(x, y, t), where x = r*cos(theta), y = r*sin(thet...

meer dan 8 jaar ago | 2 answers | 0

2

answers

Question


Nonlinear parabolic PDE with PDE toolbox
Hi, I'd like to solve the PDE $\partial u / \partial t = r*(\partial/\partial r[r*D0*(u/u0)^n])$ where D0, C0 and ...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


VideoWriter Axes and title
Hi, I'm using VideWriter to create a video of the progress of the profile of a solution to a PDE. I would like the video to a...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


Why am I getting this error?
I'm using pdepe and I keep getting the error "Error using pdepe (line 293) Spatial discretization has failed. Discretization sup...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


Fisher reaction PDE propagating from a point source
Hi, I'm using pdepe to solve the nonlinear hear equation $\frac{\partial C}{\partial t}=r^{1-s}\frac{\partial}{\partial r...

meer dan 8 jaar ago | 0 answers | 0

0

answers

Question


PDE compact solutions in Matlab
Hi! I'm working on solutions to a parabolic PDE, and was wondering if there is a way to get MATLAB to work out whether the so...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


Plotting phase plane from system of second order ODEs
Hi, I'm using ode45 to solve a system of two second order ODEs (writing it as a system of 4 first order ODEs) du(1) = u(3)...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


student license on two computers
Hi, I would like to be able to use my student Matlab license in my personal computer as well as my laptop. Is this possible? Ho...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


Saving movie of solution profile
Hi, I'm creating a figure to see the progression of a solution in time: figure fig = plot(r, u(1,:), 'erase', 'x...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


PDE propagating from point source
I want to solve numerically a nonlinear diffusion equation from an instantaneous point source. Thus, I have initial conditions, ...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


solving non-linear ODEs algebraically with symbolic math toolbox
Hi! I'm trying to solve a second order nonlinear ODE for $u_n(t)$, and I have this code: clear all n = sym('n'); p = s...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


awgn function - how does it add signal-to-noise ratio
Hi, I've been using the function awgn to add white gaussian noise to some synthetic data. I need to know exactly how this is ...

bijna 9 jaar ago | 0 answers | 0

0

answers

Question


changing scale of x-axis in histfit
Hi! I am generating some histograms with a normal distribution using histfit, and I need to change the scale in the x-axis. S...

ongeveer 9 jaar ago | 1 answer | 0

1

answer

Question


sampling pairs of elements
Hi, I'm trying to sample data from two vectors simultaneously, one is a population value and the other a point in time. I nee...

ongeveer 9 jaar ago | 2 answers | 0

2

answers

Question


histogram of iterated values
Hi, I have a program that estimates a parameter from data with random noise. Since the noise is random, the estimate is diffe...

ongeveer 9 jaar ago | 1 answer | 0

1

answer

Question


ignoring imaginary parts when plotting
Hi, I have a program that estimates some parameters and then plots a curve using those estimates. The parameters are estimate...

ongeveer 9 jaar ago | 1 answer | 0

1

answer

Question


checking if values are equal in a loop
Hi, I have a program that estimates some parameters iteratively and returns the value after a set number of iterations of a f...

ongeveer 9 jaar ago | 1 answer | 0

1

answer

Question


iterations required for parameter convergence
Hi, I have a code that uses an iteration algorithm to estimate some parameters. Is there a way to get it to iterate until the...

meer dan 9 jaar ago | 1 answer | 0

1

answer

Question


histogram of error distribution
Hi, I have a set of data to which I am adding weighted random error from a uniform distribution, and I would like to generate...

meer dan 9 jaar ago | 1 answer | 0

1

answer

Question


Finding average of iterated curves
I have a code that generates multiple curves from a set of data that gets random error added to it, so after each iteration of t...

meer dan 9 jaar ago | 1 answer | 0

1

answer

Question


why do i get the error: matrix dimensions must agree ??
this is what I'm trying to plot x=linspace(0,100,100); a=5; y=1/(abs(a*x)+1); figure plot(x,y) how do I fix th...

meer dan 9 jaar ago | 1 answer | 0

1

answer

Question


keep getting error in the covariance: Subscript indices must either be real positive integers or logicals.
I keep getting this error in calculating the covariance between two variables, how should I do it to avoid the error? Subscri...

meer dan 9 jaar ago | 1 answer | 0

1

answer