Feeds
답변 있음
Modelling concentration and rejection of salts in a membrane system
I'm not sure if Simscape or Simulink are the best tools for the job. You primarily use these tools to model the physical charact...
Modelling concentration and rejection of salts in a membrane system
I'm not sure if Simscape or Simulink are the best tools for the job. You primarily use these tools to model the physical charact...
2년 초과 전 | 0
문제를 풀었습니다
Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...
2년 초과 전
문제를 풀었습니다
MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9
2년 초과 전
문제를 풀었습니다
MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8
2년 초과 전
문제를 풀었습니다
MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9
2년 초과 전
문제를 풀었습니다
MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8
2년 초과 전
문제를 풀었습니다
Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...
2년 초과 전
문제를 풀었습니다
Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.
2년 초과 전
문제를 풀었습니다
Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...
2년 초과 전
문제를 풀었습니다
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
2년 초과 전
문제를 풀었습니다
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
2년 초과 전
문제를 풀었습니다
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
2년 초과 전
문제를 풀었습니다
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 ...
2년 초과 전
답변 있음
How can I do this?
So the input argument is the table from the excel file. So this might work if the excel file is in the same folder as the functi...
How can I do this?
So the input argument is the table from the excel file. So this might work if the excel file is in the same folder as the functi...
거의 4년 전 | 1
| 수락됨
답변 있음
How can I do this?
I recommend you take a look at this category: https://www.mathworks.com/help/matlab/getting-started-with-matlab.html If you wa...
How can I do this?
I recommend you take a look at this category: https://www.mathworks.com/help/matlab/getting-started-with-matlab.html If you wa...
거의 4년 전 | 1
문제를 풀었습니다
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
4년 초과 전
답변 있음
Using For loop to change array values in simulink stateflow
Hi Kizito, it looks like your main problem comes from the function you made. Try incorporating these solutions: The function yo...
Using For loop to change array values in simulink stateflow
Hi Kizito, it looks like your main problem comes from the function you made. Try incorporating these solutions: The function yo...
4년 초과 전 | 0
| 수락됨
답변 있음
Communication between Simulink and Simscape blocks
Hi Saulo, you can use PS-Simulink and Simulink-PS blocks to interface between Simscape and Simulink. Use the PS-Simulink block i...
Communication between Simulink and Simscape blocks
Hi Saulo, you can use PS-Simulink and Simulink-PS blocks to interface between Simscape and Simulink. Use the PS-Simulink block i...
4년 초과 전 | 0
| 수락됨
문제를 풀었습니다
Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...
거의 5년 전
문제를 풀었습니다
Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...
거의 5년 전
문제를 풀었습니다
Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...
거의 5년 전
문제를 풀었습니다
Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...
거의 5년 전
문제를 풀었습니다
Solve a System of Linear Equations
*Example*: If a system of linear equations in _x₁_ and _x₂_ is: 2 _x₁_ + _x₂_ = 2 _x₁...
거의 5년 전
문제를 풀었습니다
Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....
거의 5년 전
문제를 풀었습니다
Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...
거의 5년 전
문제를 풀었습니다
Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...
거의 5년 전