Anthony Siddique
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
4년 초과 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
4년 초과 전
문제를 풀었습니다
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...
4년 초과 전
문제를 풀었습니다
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 ...
4년 초과 전
질문
Sine input for a state space model
% set up model,in 2nd order form J = 2; % kg-m^2 k = 2; % N-m/rad, coil spring J_left = J; J_mid = J; J_right = J; k_wall ...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
Change the values of a matrix using indices of another matrix
I have two matrices A and B. I want to know how do I change the values of A with using indexes of B. A = 1 ...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
While loop runs infinitely
I'm trying to create a function that takes two parameters: x and threshold. X is the angle and the threshold is the percent erro...
8년 초과 전 | 답변 수: 2 | 0