Matthew
University of Akron
2014 年からアクティブ
Followers: 0 Following: 0
Professional Interests: Mechanical Engineering
Feeds
質問
How To Remove Repeating Pattern From Vector
Suppose I have a vector that looks like this: x=[1;1;1;1;2;2;2;2;3;3;3;3;4;4;4;4;5;5;5;5;6;6;6;6;7;7;7;7;8;8;8;8;9;9;9;9] You ...
5年以上 前 | 1 件の回答 | 0
1
回答質問
MaxHeadSize Inoperable in R2017a for Quiver3
I'm trying to change the arrow head size for a quiver3 plot. I'm using R2017a. 'MaxHeadSize' doesn't seem to change it though....
6年弱 前 | 0 件の回答 | 0
0
回答質問
How Are Calculations Done for Variable That's Inclusive of Itself?
Consider the following simple scenario: x=x+1 In terms of computational efficiency and speed, I'm curious how this calcu...
7年弱 前 | 2 件の回答 | 0
2
回答質問
Parallel Computing Hardware Setting
I wrote a script that takes hours to run. I opened the Task Manager and noticed it appears to be using all the CPUs. By defaul...
7年弱 前 | 1 件の回答 | 0
1
回答質問
Indexing Vector of Variables
I have a column vector of numbers (we'll call it A for example). Is there a slick way to go through A and create another column...
約7年 前 | 1 件の回答 | 0
1
回答質問
Plot File Naming Prohibits Periods?
In order to save my plot, I have this excerpt of code at the end of my script. Why does this not work? From my debugging, it s...
約7年 前 | 1 件の回答 | 0
1
回答質問
How To Write Long Plot Handle
My code has the plot handle shown below that is used with 'plot3.' Seventeen different data sets (i.e., n=17) are being plotted...
約7年 前 | 1 件の回答 | 0
1
回答質問
Change Array Name In Each Loop
I'm writing a For loop and want to create an array each loop, with the name changed according to the loop counter; e.g., Coll1, ...
約7年 前 | 2 件の回答 | 0
2
回答質問
Creating Coordinate Point List of Sphere's Surface Areas (Geodesic Grid)
Imagine a geodesic grid of a sphere. The sphere's surface is evenly discretized into many equal-area surfaces. Suppose I wante...
約7年 前 | 0 件の回答 | 0
0
回答質問
Create Array Within Array
I need to create an array. Within that array, each cell of the array is a numerical array unto itself (i.e., child arrays withi...
約7年 前 | 1 件の回答 | 0
1
回答回答済み
ode45 to Solve System of ODEs
Anybody else have some input on how to construct this scenario? There were some aspects to James' answer that weren't clear to ...
ode45 to Solve System of ODEs
Anybody else have some input on how to construct this scenario? There were some aspects to James' answer that weren't clear to ...
約7年 前 | 0
質問
ode45 to Solve System of ODEs
Please see the two equations in the attachment. When Eqn 1 is integrated, it will report velocity. Similarly, when Eqn 2 is in...
約7年 前 | 2 件の回答 | 0
2
回答質問
Adding Second Line to Text Box in Plot
Hi folks. I have another formatting question. I want to place a text box in a 3D plot. I have the following code where I calc...
約7年 前 | 1 件の回答 | 1
1
回答質問
Input String Variable to SaveAs Command
I'm trying to write the SaveAs command to save a plot. Upstream of the command, I'm trying to create a string parameter that's ...
約7年 前 | 1 件の回答 | 0
1
回答質問
Formating String Parameter Left of Decimal
In the following code, I want to create the str variable to read: Radius=100E-6 meter However, I keep getting: Radius=1.00E...
約7年 前 | 2 件の回答 | 0
2
回答質問
How To Write ODE45 Function File?
I have the following code in a script file. tspan = [0 12]; v0 = 0; [t,v] = ode45(@(t,v) 9.81-(0.25/68.1)*v^2, tspan,...
約7年 前 | 1 件の回答 | 0
1
回答質問
Variable Usage in Function File
Unfortunately, I still am not very knowledgeable about using "function" commands in Matlab. As such, I have two questions. 1...
約7年 前 | 1 件の回答 | 0
1
回答質問
fsolve Doesn't Recognize Input Variables
I'm new to the fsolve command and learning how it works. Following examples from Help, I wrote the following in the child file:...
7年以上 前 | 2 件の回答 | 0
2
回答回答済み
Not Getting Both Roots to Nonlinear Equation
I guess I'm a little amazed that Matlab struggled with this equation, but my TI-89 calculator didn't hesitate at all. Maybe Tex...
Not Getting Both Roots to Nonlinear Equation
I guess I'm a little amazed that Matlab struggled with this equation, but my TI-89 calculator didn't hesitate at all. Maybe Tex...
7年以上 前 | 0
質問
Not Getting Both Roots to Nonlinear Equation
Can anyone tell me why the following script doesn't give me both answers to the nonlinear equation? The "solve" command only re...
7年以上 前 | 3 件の回答 | 0
3
回答質問
Comparing Values in 3D Matrix
I am doing a convergence study, which means I will loop through some numerics and compare the results of t and t-1, until an acc...
9年弱 前 | 1 件の回答 | 0
1
回答回答済み
Solving Blasius Equation Using Integral Method
Star Strider, Thanks for the input. I was afraid the question was aiming for a narrow niche of users. My hopes to find that...
Solving Blasius Equation Using Integral Method
Star Strider, Thanks for the input. I was afraid the question was aiming for a narrow niche of users. My hopes to find that...
約9年 前 | 0
質問
Solving Blasius Equation Using Integral Method
Anyone familiar with the Blasius Equation for boundary layer thickness? I have rewritten it as an ODE through the substitution ...
約9年 前 | 1 件の回答 | 0
1
回答質問
How to Change from Frequency Domain to Time Domain with IFFT & FFT
I have the following data. Note the odd number of data points since I'm not sure if this affects the script or not. It is acce...
9年以上 前 | 0 件の回答 | 0
0
回答質問
How to Form Continuous Curve Plot
I have the following code. At the end, I issue the plot command. The resulting figure shows hundreds of discrete points along ...
9年以上 前 | 2 件の回答 | 0
2
回答回答済み
Results are Fractional and Imaginary
I found my answer to #2. The nthroot command forces the software to retrieve the value of the real root, instead of the imagina...
Results are Fractional and Imaginary
I found my answer to #2. The nthroot command forces the software to retrieve the value of the real root, instead of the imagina...
約10年 前 | 0
質問
Results are Fractional and Imaginary
Two part question...I have the following simple code. 1) When y=f(-2) is calculated and shown in the Command Window, it's sho...
約10年 前 | 3 件の回答 | 0