# Alex Hanes

Last seen: 6ヶ月 前 2022 年からアクティブ

Followers: 0   Following: 0

バッジを表示

#### Feeds

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

1年以上 前 | 0

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

1年以上 前 | 0

| 採用済み

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

1年以上 前 | 0

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

1年以上 前 | 0

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

1年以上 前 | 0

| 採用済み

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

1年以上 前 | 0

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

1年以上 前 | 0

| 採用済み

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

1年以上 前 | 0

| 採用済み

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

1年以上 前 | 0

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

1年以上 前 | 0

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

1年以上 前 | 1

| 採用済み

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

1年以上 前 | 0