Statistics
RANK
8.245
of 295.527
REPUTATION
5
CONTRIBUTIONS
19 Questions
2 Answers
ANSWER ACCEPTANCE
10.53%
VOTES RECEIVED
5
RANK
of 20.242
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154.057
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
Feeds
Question
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,...
meer dan 10 jaar ago | 1 answer | 0
1
answerQuestion
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...
meer dan 10 jaar ago | 1 answer | 0
1
answerQuestion
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...
meer dan 10 jaar ago | 1 answer | 0
1
answerHow 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; ...
meer dan 10 jaar ago | 0
Question
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...
meer dan 10 jaar ago | 2 answers | 0
2
answersQuestion
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 = ...
meer dan 10 jaar ago | 1 answer | 0
1
answerQuestion
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...
meer dan 10 jaar ago | 1 answer | 0
1
answerQuestion
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...
meer dan 10 jaar ago | 1 answer | 0
1
answerQuestion
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 ...
meer dan 10 jaar ago | 2 answers | 0
2
answersQuestion
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...
meer dan 10 jaar ago | 1 answer | 0
1
answerQuestion
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...
bijna 11 jaar ago | 1 answer | 0
1
answerQuestion
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...
bijna 11 jaar ago | 1 answer | 0
1
answerQuestion
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...
bijna 11 jaar ago | 1 answer | 0
1
answerQuestion
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...
bijna 11 jaar ago | 1 answer | 1
1
answerQuestion
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...
ongeveer 11 jaar ago | 2 answers | 4
2
answersQuestion
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>>...
ongeveer 11 jaar ago | 2 answers | 0
2
answers"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...
meer dan 11 jaar ago | 0
Question
"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...
meer dan 11 jaar ago | 2 answers | 0
2
answersQuestion
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...
meer dan 11 jaar ago | 0 answers | 0
0
answersQuestion
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...
meer dan 11 jaar ago | 0 answers | 0
0
answersQuestion
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...
meer dan 11 jaar ago | 1 answer | 0