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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 1 个回答 | 0

1

个回答