photo

Kelsey


University of Notre Dame

2013 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 1

バッジを表示

Feeds

表示方法

質問


How to get rid of zeros in data?
I am plotting Efficiency vs. Acceleration. The formula for Efficiency is only valid if the vehicle is accelerating. Therefore,...

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

1

回答

質問


How to only have user select data file if workspace is empty?
I have a generic code that calculates things based off of the data file that the user selects and loads into the Matlab Workspa...

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

1

回答

質問


Why isn't this if statement nested in a for loop working?
I am trying to use fuel consumption, velocity, and time data from a real-world drive cycle to calculate the fuel consumed during...

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

1

回答

回答済み
How to sum the fuel consumed at idle (vehicle speed=0)?
This code seems to come close: IdleFuelIndex = find(VSPD == 0); %(find indexes where VSPD=0) IdleFuel = 0; ...

10年以上 前 | 0

質問


How to sum the fuel consumed at idle (vehicle speed=0)?
I have some vectors of data for time, vehicle fuel consumption, and vehicle speed for a certain driving trip. I am confused abo...

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

2

回答

質問


How to interpolate any vectors whose lengths don't match the time vector?
Here is my code (which doesn't seem to work): names = fieldnames(dataATI); if length(names)>length(time) names = ...

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

1

回答

質問


Computing derivative using "for" loop--why am I getting this error?
Below is my code (note that in reality the vectors are much longer, but I simplified them to 5 entries of fake data...you get th...

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

1

回答

質問


How does Simulink recognize variables from an m-file?
I am trying to run a .slx file named train.slx from the Simulink window, and have it use variables defined in a .m file (named s...

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

1

回答

質問


Error using plot--vectors must be the same lengths?
Why am I getting the error message, "Error using plot Vectors must be the same lengths"? This code worked fine before I added a ...

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

2

回答

質問


Simulink help -- PID Control for a robot arm?
<< <</matlabcentral/answers/uploaded_files/10386/diffeq1.png>> >> I need to use Simulink to determine an approximate nu...

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

1

回答

質問


Need help using num2str?
I am trying to display the sentence: The approximate work done is {W} kJ. (Where W is the calculated work variable) How ca...

11年弱 前 | 1 件の回答 | 0

1

回答

質問


Can someone run this simple code for me? Matlab isn't converging to a solution on my computer...
A = [0 1 0 0; 1 .15 -2 -.05; 0 0 0 1; -1 -.025 -.5 -.075] t = sym('t') expm(A*t) Thanks in advance! Apparently it sho...

11年弱 前 | 1 件の回答 | 0

1

回答

質問


How to increment a for loop by an arbitrary value?
I am creating a Matlab program that calculates corresponding temperatures for Celsius, Kelvin, Fahrenheit, and Rankine scales. I...

11年弱 前 | 1 件の回答 | 0

1

回答

質問


How to plot a function in the complex plane?
How would I plot the function F = R*exp(i*theta) where F, R, and theta are functions of w, and i is an imaginary number? I...

11年弱 前 | 1 件の回答 | 1

1

回答

質問


Error message when using plot command: "Subscript indices must either be real positive integers or logicals"
I am having an issue when I run this code: x = linspace(0,1,7); yprimeexact = -2*x.*exp(-x.^2); yprimeapprox = [-1.32...

約11年 前 | 2 件の回答 | 4

2

回答

質問


How to plot selective data?
I have some data in the following form, outputted from a different computer program: <<http://oi43.tinypic.com/346rmys.jpg>>...

約11年 前 | 2 件の回答 | 0

2

回答

回答済み
"Slider control can not have a Value outside of Min/Max Range"
Well here's the same basic function, altered for my GUI: function TriadF(handles) % TriadF.m % Play a music...

11年以上 前 | 0

質問


"Slider control can not have a Value outside of Min/Max Range"
I am getting this error for a code that I know is correct and should work. Why am I getting this? Here is the code: funct...

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

2

回答

質問


Is it possible to connect 2 functions to a single Callback in a GUI?
For instance, I created a slider with which the user inputs a value for x. If this x value is used in two separate functions tha...

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

0

回答

質問


Need to graph integral on GUI?
I'm creating a GUI that graphs the integral of a function, and allows the user to choose the left and right bounds on the x axis...

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

0

回答

質問


Rock, Paper, Scissors GUI?
I am creating a GUI based on a script that generates a rock, paper, or scissors input, compares it to the user's input, then sta...

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

1

回答