Community Profile

photo

Alex Hanes


Last seen: Today Active since 2022

Statistics

  • Knowledgeable Level 2
  • First Answer
  • Explorer

View badges

Content Feed

View by

Answered
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...

3 maanden ago | 0

Answered
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....

3 maanden ago | 0

| accepted

Answered
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...

3 maanden ago | 0

Answered
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...

3 maanden ago | 0

Answered
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...

3 maanden ago | 0

| accepted

Answered
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...

3 maanden ago | 0

Answered
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 ...

3 maanden ago | 0

| accepted

Answered
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...

3 maanden ago | 0

| accepted

Answered
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...

3 maanden ago | 0

Answered
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...

3 maanden ago | 0

Answered
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 (-...

3 maanden ago | 1

| accepted

Answered
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 ...

3 maanden ago | 0