Community Profile

photo

Alex Hanes


Last seen: 4 Monate vor Aktiv seit 2022

Statistiken

  • Knowledgeable Level 2
  • First Answer
  • Explorer

Abzeichen anzeigen

Content Feed

Anzeigen nach

Beantwortet
Matlab Matrix calculation coming wrong
In Line 65, you are using mrdivide (/), when it seems you are trying to element-wise division using rdivide (./). mrdivide solve...

mehr als ein Jahr vor | 0

Beantwortet
How to store the output of multiple for loops in an empty matrix in a particular order?
After each iteration of your for loop over i (for i=0:1:3 ... ), you replace the array, TT, that stores everything sequentially....

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Unable to convert image back to time domain using IFFT!!
The ifft() and ifftshift() function do not commute. Look at the series of steps you took (working outwards): Apply fft Apply f...

mehr als ein Jahr vor | 0

Beantwortet
How do I plot DFT and iDFT without using libraries
MATLAB’s <https://www.mathworks.com/help/matlab/ref/fft.html#buuutyt-11 FFT function> gives you the definition of the discrete F...

mehr als ein Jahr vor | 0

Beantwortet
Vector image export for Adobe Illustrator
You can use the <https://www.mathworks.com/help/matlab/ref/print.html print> function. The documentation lists the vector and bi...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
merge 12 rows in 12 matrices to one matrix
I'll define some fake data: nMonths = 12; dailyRF = rand(365,55); % fake data array idxDays = [31; 28; 31; 3...

mehr als ein Jahr vor | 0

Beantwortet
Trying to form a large matrix from 1 small matrix
If I’m following correctly, the following code should get you in the right direction: k_e = 2*ones(4,4); % place-holder for ...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
How to rotate the unit cell in crystal?
You can use quaternions to rotate about an arbitrary axis in 3-dimensions. The quatrotate is capable of performing a rotation of...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
GA model is not reproducible.
Your function tolerance is smaller than numerical precision by 14-15 orders of magnitude. See <https://www.mathworks.com/help/ma...

mehr als ein Jahr vor | 0

Beantwortet
I’ve attached task and attempt. I’m not sure how to make it work/ do the fitting routine.
Checking out MATLAB’s documentation for <https://www.mathworks.com/help/optim/problem-based-approach.html Problem-Based> solvers...

mehr als ein Jahr vor | 0

Beantwortet
Extracting elements of a matrix based on latitude & longitude limits
It’s not clear to me what xvertices and vertices are, but I assume your 180 data points in A correspond to the sampled points (-...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
how to split the data in for loop?
It looks like your issue is because your parfor loop violates the following static condition: Required (static): If you use ...

mehr als ein Jahr vor | 0