photo

Alex Hanes


Last seen: 12 mesi fa Attivo dal 2022

Followers: 0   Following: 0

Statistica

  • Knowledgeable Level 2
  • First Answer
  • Explorer

Visualizza badge

Feeds

Visto da

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

circa 2 anni fa | 0

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

circa 2 anni fa | 0

| accettato

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

circa 2 anni fa | 0

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

circa 2 anni fa | 0

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

circa 2 anni fa | 0

| accettato

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

circa 2 anni fa | 0

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

circa 2 anni fa | 0

| accettato

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

circa 2 anni fa | 0

| accettato

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

circa 2 anni fa | 0

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

circa 2 anni fa | 0

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

circa 2 anni fa | 1

| accettato

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

circa 2 anni fa | 0