photo

Zach Dunagan


Active since 2017

Followers: 0   Following: 0

Statistics

MATLAB Answers

18 Questions
3 Answers

RANK
41 056
of 300 364

REPUTATION
1

CONTRIBUTIONS
18 Questions
3 Answers

ANSWER ACCEPTANCE
38.89%

VOTES RECEIVED
1

RANK
 of 20 934

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 168 407

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Thankful Level 3

View badges

Feeds

View by

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

mer än 7 år ago | 0

Question


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

nästan 8 år ago | 5 answers | 0

5

answers

Question


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

nästan 8 år ago | 0 answers | 0

0

answers

Question


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

nästan 8 år ago | 0 answers | 0

0

answers

Question


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

nästan 8 år ago | 1 answer | 0

1

answer

Question


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

nästan 8 år ago | 0 answers | 0

0

answers

Question


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

nästan 8 år ago | 1 answer | 0

1

answer

Question


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

nästan 8 år ago | 1 answer | 1

1

answer

Question


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

nästan 8 år ago | 1 answer | 0

1

answer

Question


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

nästan 8 år ago | 2 answers | 0

2

answers

Question


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

nästan 8 år ago | 2 answers | 0

2

answers

Question


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

nästan 8 år ago | 1 answer | 0

1

answer

Question


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

ungefär 8 år ago | 2 answers | 0

2

answers

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

ungefär 8 år ago | 0

Question


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

ungefär 8 år ago | 3 answers | 0

3

answers

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

ungefär 8 år ago | 0

Question


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

ungefär 8 år ago | 2 answers | 0

2

answers

Question


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

ungefär 8 år ago | 2 answers | 0

2

answers

Question


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

ungefär 8 år ago | 2 answers | 0

2

answers

Question


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

ungefär 8 år ago | 1 answer | 0

1

answer

Question


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

ungefär 8 år ago | 1 answer | 0

1

answer