Community Profile

photo

Zach Dunagan


2017 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 3

バッジを表示

Feeds

表示方法

回答済み
Fitting a lines to a scatter plot?
Here is my code... How would I fit a trend line to this scatter plot? % clear variables and windows clc, clear, clear al...

約6年 前 | 0

質問


Fitting a lines to a scatter plot?
Hello, I am taking a course with a ton of data analysis. I switched over to Engineering Equation Solver just because of the g...

約6年 前 | 5 件の回答 | 0

5

回答

質問


Do you see an error?
Do any of you see a problem with the Matlab code? The output from Python and Matlab are the same except 'wps'. The outputs fo...

6年以上 前 | 0 件の回答 | 0

0

回答

質問


Do we have any proficient users in Python?
I've been working on converting Python to Matlab for awhile now. I have everything plotting, saving, and outputting. However, th...

6年以上 前 | 0 件の回答 | 0

0

回答

質問


How to save figures directly to a folder without having them display?
I have a set of plots, in other words figures, that need to be saved directly to the folder. I have the code set up where it sav...

6年以上 前 | 1 件の回答 | 0

1

回答

質問


Do you see any errors?
I am nearly finished with the code I am converting just trying to figure out a plot and then I need to figure out how to save mu...

6年以上 前 | 0 件の回答 | 0

0

回答

質問


Reshape won't work for my application. Why?
Converting a line of Python code to matlab. Here is the Python. Fy_bern=np.sum(np.reshape(forceDist,(numPanels,1))*(np.s...

6年以上 前 | 1 件の回答 | 0

1

回答

質問


How to save multiple plots to a single folder?
Here is the path to the folder. filepath = 'C://Users//Zach Dunagan//Desktop//Frame//' This is what I have attempted. ...

6年以上 前 | 1 件の回答 | 1

1

回答

質問


Help converting Python to Matlab
For now I will start with this single line of code. Python dPSto1[:,n]=1/2*rho*(np.reshape((Uinf**2-tangVelFoil**2),(num...

6年以上 前 | 1 件の回答 | 0

1

回答

質問


Title with multiple outputs
<<https://www.mathworks.com/matlabcentral/answers/uploaded_files/95333/mulitple%20output%20example.JPG>> Here is my code: ...

6年以上 前 | 2 件の回答 | 0

2

回答

質問


Help finding error in Matlab code
I have two sets of code, one in Python and the other in Matlab. I am converting Python to Matlab, but ran into a error that I am...

6年以上 前 | 2 件の回答 | 0

2

回答

質問


if else statements with asking user for input
My code is attached. Is there a way to only have one prompt at the beginning of the if else statements, instead of 2? I have 4 d...

6年以上 前 | 1 件の回答 | 0

1

回答

質問


Converting Python to Matlab
Here is my Python code... import numpy as np import matplotlib.pyplot as plt import copy def SourceDis...

6年以上 前 | 2 件の回答 | 0

2

回答

回答済み
Converting Python to Matlab
How would I insert zeros in the diagonal line of these 128 x 128 matrices? nSource = -(sin(theta-transpose(theta)))*ups + (...

6年以上 前 | 0

質問


Converting Python to Matlab
Spent a few hours on trying to figure out why the outputs are different, no luck. Python and Matlab are in a txt file along with...

6年以上 前 | 3 件の回答 | 0

3

回答

回答済み
Stumped again... Converting Python to Matlab
The only value that appears is the last one in the array. xp(66:end) = flipud(xp(1:numPanels/2)); yp(66:end) = -flip...

6年以上 前 | 0

質問


Stumped again... Converting Python to Matlab
Here is the bit of Python code I am trying to convert to Matlab. code: # thetas for each panel in global frame theta=n...

6年以上 前 | 2 件の回答 | 0

2

回答

質問


Help me with indexing please?
Trying to convert Python to Matlab. Below is the Python code along with the output. import numpy as np import matplotlib...

6年以上 前 | 2 件の回答 | 0

2

回答

質問


How to match initial index?
I am very close to getting the index in Python to match with Matlab. Here is the output of Python... 0.06 0.058125 0.056...

6年以上 前 | 2 件の回答 | 0

2

回答

質問


How to add to index in for loop?
I am converting Python to Matlab. Here is Python code. # collocation points xc=np.zeros((numPanels,1)) yc=np.zeros((nu...

6年以上 前 | 1 件の回答 | 0

1

回答

質問


How to assign negative and positive values to specific numbers in array?
How would I flip the signs in the array? a = xp', where 'a' is the array. ans = 0.0581 0.0562 0.0544 ...

6年以上 前 | 1 件の回答 | 0

1

回答