Community Profile

photo

daniel adams


Last seen: mehr als ein Jahr vor Aktiv seit 2021

Followers: 0   Following: 0

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How to write subscripts for the legend of a graph
In the legend of a graph I want one of the graphs to be labeled , is there anyway to get this kind of subscirpt writing in matla...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to keep scientific notation in string.
I have some values in an array in matlab epsilon=[1e-01,9e-02,8e-02] I want to turn these values into a string so I can use th...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Repeating elements of an array
Say for some . How can I create an array of size which is just i.e repeat the elements of times each in a row. Note I ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Turn a two dimensional vector into an array
I have a subset of . I have discretised this subset into points, , also consider an identical copy of , . Now, I have a giv...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Using symbolic math to retain accuracy. Arrays
Hi folks. I am trying to avoid numerical underflow using symbolic math. Basically at some point in my algorithm I have a mat...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Storing small numbers and logarithms.
Hi I have the following problem, in my code I need to calculate for very large. The largeness causes matlab to store and to...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Precision number throughout scripts and functions.
I have a script that calls many functions, when I run the script I want matlab to use a specific value of precision throughout. ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Why is this Matrix Multiplication taking so long... using diag function
Hi the vectors are of length , and an array is of length I want to turn into diagonal arrays to calculate the product and ...

mehr als 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Discretise a domain into a grid of uniform volume size
Given a domain say in how do I split/discretise the domain into a grid of uniform volume/ fixed number of grid points? For ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Save figures from for loop into a subfolder of the current folder.
I will use math notation instead of saying arrays etc. In what follows and . I want to plot each column of against on separat...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Making a movie and saving figures
Given an array / matrix of size and a array / vector of size . I want to make a movie with frames each one being the followi...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Loose question, on function handles / speeding up run times.
This is quite a loose question but I was very surprised to find this out so thought I would ask. I was running a script where I...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Summing elements of a vector without a for loop
Given a vector/array of length , I would like to create a new vector of length where the 1st component is the sum of the 1st...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


2-dimension PDE on Matlab.
Matlab has this nice document for 1-dimensional PDE solver https://uk.mathworks.com/help/matlab/math/partial-differential-equati...

mehr als 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Setting a lower bound on the values of an array ( can it be done without a for loop?)
I have a matrix the values of it are very small, some are so small that they appear as NaN. Is there an efficient way to go thr...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to turn a matrix into a vector without using for loop !
Given a matrix is there a way in Matlab to construct a vector which is just the rows of layed out one after the other? Note I ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Turning a product of two vectors into a matrix without using for loops?
I have to two vectors and , each of length . I want a matrix where the elements of are . How can I construct on matlab with...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to find a PDE solver ( new matlab user )
Hi folks, I am studying the Fokker-Planck equation $$ \partial_t \rho(x,t) = \text{div}(f(x) \rho(x,t))+ \Delta \rho(x,t) $...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Writing the dirac function as a function handle
Hi I want to write the dirac function at $i$ as a function handle, for example the code will look something like this dirac_...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to use the sum function on a matrix to get the sum of the rows not the columns
How to use the sum function on an array to get the sum of the rows not the columns : I want to have an array of the sum of the ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Cost matrix from an array without for loop.
Hi I want to create a matrix with entries the absolute value between each point in an array. My array is called domain, and it ...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten