photo

Marcus Rosales


Last seen: 5 months ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 3
  • First Review

View badges

Feeds

View by

Question


Using a given array as an initial guess for bvp4c using bvpinit
I tried using the solution, G, to the "free" version of a given ODE (given in code with a=0) to initialize the bvp4c solver. Giv...

7 months ago | 0 answers | 0

0

answers

Question


Given a contour plot is there a function which returns a matrix corresponding to the density of lines at a given (x,y) coordinate?
I simply have a contour plot and I would like to know if there is a function I can use to count the number of lines in a given r...

8 months ago | 2 answers | 0

2

answers

Question


How do you make an initial guess in bvp4c?
I am trying to sovle the following differential equation using bvp4c: There are issues at the origin... I need to solve here ...

10 months ago | 1 answer | 0

1

answer

Question


Singular Jacobian using bvp4c
I know similar questions have been asked, but I am wondering if there any tricks to help out here. I've tried changing variables...

10 months ago | 1 answer | 0

1

answer

Question


last xtick label is not showing up!
I am fairly uncertain why my final label is not showing up! The content of the plots themselves are not too important, but I wan...

2 years ago | 1 answer | 0

1

answer

Question


BVP4c not giving expected behavior, is the set up right?
I am trying to solve the following nonlinear diff eq: ...

2 years ago | 0 answers | 0

0

answers

Answered
Bvp4c: Unable to solve the collocation equations -- a singular Jacobian encountered.
I guess I'll answer this question since I found it out. It turned out to work better using the EOM for . The main issue here is...

2 years ago | 0

| accepted

Question


Bvp4c: Unable to solve the collocation equations -- a singular Jacobian encountered.
I am trying to solve a boundary value problem, but I keep getting the above error. I know there are similar posts to this, but I...

2 years ago | 1 answer | 0

1

answer

Question


bvpinit giving wrong behavior!
I'm tryping to solve the following nonlinear Diff. Eq: ...

2 years ago | 0 answers | 0

0

answers

Question


Question regarding how matrices are stored in memory
I'm trying to get a simulation running which requires a big matrix ( N~400), so being smart with memory is important. The issue...

3 years ago | 1 answer | 0

1

answer

Question


Feature for eigs involving just positive eigenvalues
Hello, just a quick question involving eigs(). There's an option to find the N eigen values closest to an eigenvalue E, but is t...

3 years ago | 1 answer | 0

1

answer

Question


Interpolation for 2D matricies
Basically just wondering if matlab has a feature where you can interpolate a given matrix. For instance, say you have an NxN mat...

3 years ago | 1 answer | 0

1

answer

Question


Accessing order pair from sparse matrix
Hello, my question has to do with accessing the indicies of a sparse matrix. Say we define $S=sparse(M)$, then if we put in the...

3 years ago | 2 answers | 0

2

answers

Question


Finding average of matrix elements within a specified window
So I am trying to clean some plots up and I think I can do so if I had a function which took in some matrix A and returned a new...

3 years ago | 1 answer | 0

1

answer

Question


Filling in gaps in plot
Hello, I am trying to generate some plots which look a little prettier than what I currently have. An example is attached. I am...

3 years ago | 1 answer | 0

1

answer

Question


Need Help Understanding a peculiar result when comparing MATLAB's Eigenvectors to my own
Hello everyone, I am working on a simulation and have ran into an issue. To begin I am starting off with a 2D tight binding Hami...

4 years ago | 0 answers | 0

0

answers

Question


Help Cleaning up some plots
Hello, I have some plots I got from a simulation, which give me the results I should be getting. My advisor asked me to clean th...

4 years ago | 0 answers | 0

0

answers

Question


Filtering a 2D plot from pcolor
Hello, just wondering what a good way to filter a plot obtained from a matrix of values, M, when using pcolor(m) with shading in...

4 years ago | 1 answer | 0

1

answer

Question


Using an external hard to run a bigger simulation
Sooo I have been trying to do a simulation to produce some plots for some time now and it is now apparent that I need to use a b...

4 years ago | 1 answer | 0

1

answer

Question


Error when saving a work space
Hello, I am trying to save a workspace after I run a simulation but something seems to be going wrong... I have attached two scr...

4 years ago | 1 answer | 0

1

answer

Question


Can you edit a pcolor plot after generating one?
Hopefully an easy question here. I am using pcolor's interpolation option to give me a map of a fourier transform (FT) of an NxN...

5 years ago | 1 answer | 0

1

answer

Question


Ways of plotting a matrix
Hello, I am working on a simulation which diagonalizes a matrix for me, then I take the eigen vectors of said matrix and build a...

5 years ago | 1 answer | 0

1

answer

Question


Need better resolution in my plot!
Hello, I am working on a plot of a local density of states and want to know if anyone has any suggestions to improve the reso...

5 years ago | 1 answer | 0

1

answer

Question


Tight binding simulation issues
Hello, This may be too far on the physics side of things, but I figured I may try and ask anyways. My main issue comes from the...

5 years ago | 0 answers | 1

0

answers

Answered
Using existing arrays in workspace
You might find memoize useful.

5 years ago | 0

| accepted

Question


Using existing arrays in workspace
Hello, I am currently writing some code which finds the eigenstates of a Hamiltonian, but each time I run the code I need to so...

5 years ago | 3 answers | 0

3

answers

Question


Solution to nonlinear differential equation
Hello, I am trying to solve the following differential equation, but I am running into some issues when using ODE45: subjec...

5 years ago | 1 answer | 0

1

answer