Feeds
문제를 풀었습니다
Use a timetable to analyze a train timetable (Part 5)
You are analyzing a train timetable (you have some time to kill since you just missed your train!) How many trains depart each d...
거의 9년 전
문제를 풀었습니다
Use a timetable to analyze a train timetable (Part 4)
You are analyzing a train timetable (you have some time to kill since you just missed your train!) What is the average daily tri...
거의 9년 전
문제를 풀었습니다
Use a timetable to analyze a train timetable (Part 3)
Oh no, you missed your train to Boston (again?)! How many times can you miss that train today? (In other words, how many Boston ...
거의 9년 전
문제를 풀었습니다
Use a timetable to analyze a train timetable (Part 2)
Oh no, you missed your train to Boston! Find the departure time of the next available train by analyzing the train timetable. Yo...
거의 9년 전
문제를 풀었습니다
Use a timetable to analyze a train timetable (Part 1)
Oh no, you missed your train to Boston! Find the departure time of the next available train by analyzing the train timetable. Th...
거의 9년 전
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
10년 초과 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
10년 초과 전
문제를 풀었습니다
Add damping to a mass spring system
Model an ideal mass-spring-damper system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/im...
10년 초과 전
문제를 풀었습니다
Model a mass spring system
Model an ideal mass-spring system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/images/se...
10년 초과 전
문제를 풀었습니다
Model a falling body
An object is falling freely from a height of 22 meters under the force of gravity. <<http://blogs.mathworks.com/images/seth/c...
10년 초과 전
문제를 풀었습니다
Make a half wave rectifier
Produce a signal that outputs the given sine wave source when it is greater than zero and outputs zero when it is less than zero...
10년 초과 전
문제를 풀었습니다
Make a full wave rectifier
Produce a full wave rectifier waveform for the given sine wave source. For a sine wave input, the output of the full wave rec...
10년 초과 전
문제를 풀었습니다
Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>
10년 초과 전
문제를 풀었습니다
Add offset to a signal
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>> You should see a downward...
10년 초과 전
문제를 풀었습니다
Counting pulses in a signal
Count the number of pulses that are the result of summing each pulse generator block. Pulse Generator blocks produce a recurr...
10년 초과 전
문제를 풀었습니다
Produce a Fibonacci sequence
Construct a diagram that generates the Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13, 21, 34.....up to 377 The Fibonacci sequ...
10년 초과 전
문제를 풀었습니다
Model a simple pendulum
Model a simple pendulum of length 200cm with bob of mass 100g and plot the position in degrees. The pendulum starts at 30 degree...
10년 초과 전
문제를 풀었습니다
Compute the step response of a DC motor
Compute the step response of a DC motor shown below <<http://blogs.mathworks.com/images/seth/cody/dc-motor.png>> The param...
10년 초과 전
문제를 풀었습니다
Make a low pass filter
Make a first order low pass filter that will filter out the high frequency oscillations for the given input signal. The cut-off ...
10년 초과 전
문제를 풀었습니다
Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...
10년 초과 전
문제를 풀었습니다
Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>
10년 초과 전
문제를 풀었습니다
Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...
10년 초과 전
답변 있음
How can I plot a root locus for an open loop system?
To find the root locus of G=1/(10s+5), use the following code: s=tf('s'); G=tf(1/(10*s+5)); rlocus(G) This should be eno...
How can I plot a root locus for an open loop system?
To find the root locus of G=1/(10s+5), use the following code: s=tf('s'); G=tf(1/(10*s+5)); rlocus(G) This should be eno...
거의 11년 전 | 0
| 수락됨
답변 있음
please I wrote this code to solve an equation of linear systems using LU factorization but it keeps giving me zeros as the value of x. please can someone help? thanks in advance
It seems that you initialize y as a vector of zeros (y = zeros (n,1);) and then use y to solve for b(n) and b(j) without updatin...
please I wrote this code to solve an equation of linear systems using LU factorization but it keeps giving me zeros as the value of x. please can someone help? thanks in advance
It seems that you initialize y as a vector of zeros (y = zeros (n,1);) and then use y to solve for b(n) and b(j) without updatin...
11년 초과 전 | 0
문제를 풀었습니다
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
11년 초과 전
문제를 풀었습니다
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
11년 초과 전
답변 있음
Can you create a plot with contourf without the contour lines?
Use the shading flat command. Example use: Z = peaks(20); contourf(Z,10); shading flat
Can you create a plot with contourf without the contour lines?
Use the shading flat command. Example use: Z = peaks(20); contourf(Z,10); shading flat
거의 12년 전 | 0
답변 있음
please please ...... i need help in this programme is there an error
What is the problem? I was able to run your code when I uncommented the variables k, v, etc. Remember that anything after a % wi...
please please ...... i need help in this programme is there an error
What is the problem? I was able to run your code when I uncommented the variables k, v, etc. Remember that anything after a % wi...
거의 12년 전 | 0
| 수락됨
답변 있음
how to silence display of variables?
Use ; to suppress output. So, Y(i)=0*X(i)+0; instead of Y(i)=0*X(i)+0,
how to silence display of variables?
Use ; to suppress output. So, Y(i)=0*X(i)+0; instead of Y(i)=0*X(i)+0,
거의 12년 전 | 1
| 수락됨


