william Smith
Followers: 0 Following: 0
Statistics
12 Questions
0 Answers
RANK
133 129
of 295 467
REPUTATION
0
CONTRIBUTIONS
12 Questions
0 Answers
ANSWER ACCEPTANCE
66.67%
VOTES RECEIVED
0
RANK
of 20 234
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 153 912
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
left and right sides have a different number of elements
Getting error with this line, please advise, Thanks! dA(i)=(rate_a(i).*F.*Q)-(rate_b(i).*F.*L)-(rate_c(i).*F); left and righ...
mer än 5 år ago | 2 answers | 0
2
answersQuestion
How do i break a loop at set values to NaN
I need to break a loop when i reach values if alpha<-pi or apha>pi and set values for alpha and x(direction) to NaN, this is not...
mer än 5 år ago | 1 answer | 0
1
answerQuestion
how to solve an integral using trapz
trying to solve the following equations using trapz: Thanks! w=integral abs(p* x_dot) would this work: w=trapz(abs(p(i)*x_...
mer än 5 år ago | 1 answer | 0
1
answerQuestion
code explanation question help!
%can you please explain what this code is calcuating? %Thanks! y= x(find(t > t(i)-0.3))
mer än 5 år ago | 1 answer | 0
1
answerQuestion
Pendulum equations setup help
%setup : t, starts at 0, with time step dt, until tfinal , which is 1000 seconds. %initialize the x, ? dot, ? double dot, θ, ? ...
mer än 5 år ago | 0 answers | 0
0
answersQuestion
what does this code represents? and why rand() has no value between parentheses?
function [outcome]=customer x=rand() ; if x <= 0.2 outcome = 1 ; else outcome = 0; end
mer än 5 år ago | 2 answers | 0
2
answersQuestion
generating random variable between 0 and 1 with probabilities
Hi all, I have two questions please: 1) how do i generate a random number either 0 or 1 with equal chances of accept and rejec...
mer än 5 år ago | 1 answer | 0
1
answerQuestion
Plotting outputs from a function on one figure using for loop
Hello, I need help with the following question please, I am calculating the outputs for this function at different friction and...
mer än 5 år ago | 1 answer | 0
1
answerQuestion
need help creating two nested for loops to run the function
function[v_a, x_direction, y_direction, v_b, t_flight]=func(friction, initalelevation) friction= 0.1 : 0.05 : 0.65 initi...
mer än 5 år ago | 0 answers | 0
0
answersQuestion
use for loop to call the function 600 times
function[v_a, x_direction, y_direction, v_b, t_flight]=func(friction, initalelevation) friction= 0.1 initial elevation= 100 l...
mer än 5 år ago | 1 answer | 0
1
answerQuestion
Index in position 1 exceeds array bounds (must not exceed 25). Please help!!
function [Slotplayers,RoulettePlayers,HouseEarning]= hw5_func(SlotRounds,RouletteRounds) Slotplayers=zeros(SlotRounds+1,10); S...
mer än 5 år ago | 1 answer | 0