cdawg
Followers: 0 Following: 0
sup
Feeds
문제를 풀었습니다
Joining Ranges
You are given a n-by-2 matrix. Each row represents a numeric range, e.g. x = [0 5; 10 3; 20 15; 16 19; 25 25] contains...
대략 1년 전
문제를 풀었습니다
Getting logical indexes
This is a basic MATLAB operation. It is for instructional purposes. --- Logical indexing works like this. thresh = 4...
대략 1년 전
문제를 풀었습니다
Cricket - Sort Batters by Distance Run
Given a string vector of batters' names, a vector of the total number of runs they scored, a vector of the number of 4s they sco...
대략 1년 전
답변 있음
Add missing rows to a list in a cell array
Will this work? m = {... 9 [10370;10371;10372] 10 [12933;12934] 11 10001 12 11320 13 [11347;11348] 14 [10362;10363] 17...
Add missing rows to a list in a cell array
Will this work? m = {... 9 [10370;10371;10372] 10 [12933;12934] 11 10001 12 11320 13 [11347;11348] 14 [10362;10363] 17...
1년 초과 전 | 0
| 수락됨
답변 있음
At line [gnum4,gden4]=series(gnum3,gden3,numK,denK); I have an error called transfer function not proper and I can not figure out why this error is occuring
This is happening because your numerator numK has more degrees than your denominator denK, making it not proper. I think you may...
At line [gnum4,gden4]=series(gnum3,gden3,numK,denK); I have an error called transfer function not proper and I can not figure out why this error is occuring
This is happening because your numerator numK has more degrees than your denominator denK, making it not proper. I think you may...
1년 초과 전 | 0
답변 있음
for some reason, when i am trying to make a bar graph which each datapoint plotted on each bar, the legend is not correct. only 2 of the 4 labels appear correctly
Your legend is showing the first four objects you plotted, which is bar, scatter, bar, scatter. You're only giving it 4 legend e...
for some reason, when i am trying to make a bar graph which each datapoint plotted on each bar, the legend is not correct. only 2 of the 4 labels appear correctly
Your legend is showing the first four objects you plotted, which is bar, scatter, bar, scatter. You're only giving it 4 legend e...
1년 초과 전 | 0
문제를 풀었습니다
Given a matrix, swap the 2nd & 3rd columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...
1년 초과 전
문제를 풀었습니다
Generate this matrix
Generate the following matrix. n = 2; out = [-4 -3 -2 -1 0 -3 -2 -1 0 1 -...
1년 초과 전
문제를 풀었습니다
Create an arrow matrix
An arrow matrix is a square matrix that contains ones on the diagonal, the last column, and last row. ...
1년 초과 전
문제를 풀었습니다
Calculating Student Grades
The matrix grades contains raw grades for 7 students who took your course. Each row represents a different student. The first 7 ...
1년 초과 전
문제를 풀었습니다
Determine if x is a combination of m and n
Given positive integers x, m, and n, determine if x can be written as x = am + bn for any (non-negative) integers a and b. Your ...
1년 초과 전
문제를 풀었습니다
Dog Statistics
The vectors ht and wt contains the heights and weights of 20 golden retrievers. In some cases, it was not possible to make both ...
1년 초과 전
문제를 풀었습니다
Simpson's Paradox - Calculate correlation coefficients for groups of data
Simpson's Paradox is a statistical phenomenon where groups of data can have a characteristic while the whole data set together h...
1년 초과 전
문제를 풀었습니다
Find the minimum of the column-maximums of a matrix
Given a matrix A, find the maximum value of each column, then return the smallest of those maximum values (ie return the minimum...
1년 초과 전
문제를 풀었습니다
Calculate the mean of each half of a matrix
Given a matrix with an even number of columns, n, return a 1-by-2 row vector where the first element is the mean of all the elem...
1년 초과 전
문제를 풀었습니다
middleAsColumn: Return all but first and last element as a column vector
Given input A, return all but the first and last elements, arranged as a column vector. (I.e., all dimensions after the first s...
1년 초과 전
문제를 풀었습니다
Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).
1년 초과 전
문제를 풀었습니다
Return elements unique to either input
Given two numeric inputs a and b, return a row vector that contains the numbers found in only a or only b, but not both. For ex...
1년 초과 전
문제를 풀었습니다
"Low : High - Low : High - Turn around " -- Create a subindices vector
Let two vectors *lo* and *hi* be given. The job is to create a index vector like so idx = [lo(1):hi(1) lo(2):hi(2) ...]...
1년 초과 전
문제를 풀었습니다
Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...
1년 초과 전
문제를 풀었습니다
Fill a zeros matrix
The aim is to fill an array of all zeros given a numerical value and the index of row and columns for this value. 3 Inputs: ...
1년 초과 전
문제를 풀었습니다
Get the elements of diagonal and antidiagonal for any m-by-n matrix
In the problem <http://www.mathworks.com/matlabcentral/cody/problems/858-permute-diagonal-and-antidiagonal Problem 858. Permute ...
1년 초과 전
문제를 풀었습니다
Calculate supply voltage and total current
Three resistors are connected in series and each has a resistance in ohms. Resistor R2 has a voltage drop of ΔV2volts Find the ...
1년 초과 전
문제를 풀었습니다
Resistance in a circuit
Two resistors with values of 6.0 ohms and 12 ohms are connected in parallel. This combination is connected in series with a 4 o...
1년 초과 전
문제를 풀었습니다
Voltage in a lamp
A lamp is measured to have a resistance of R ohms when it operates at a power of P Watts. What is the voltage (in volts) being a...
1년 초과 전
문제를 풀었습니다
Resistance of a robot
What is the resistance of an industrial robot that draws P watts of power when connected to a power supply delivering V volts? R...
1년 초과 전
문제를 풀었습니다
Basic Mathematics 8
A robot is extending its arm and attempting to reach a game piece that is X” away and Yg ” off the ground. The base of the arm i...
1년 초과 전
문제를 풀었습니다
Basic Mathematics 7
Three generous robotics team mentors would jointly like to donate $N toward extra supplies. The second mentor is donating twice ...
1년 초과 전
문제를 풀었습니다
Basic Mathematics 6
A High School is trying to build their robot to be able to reach the hanging object which is H inches from the ground. Their ro...
1년 초과 전
문제를 풀었습니다
Basic Mathematics 5
The total area of all four equal sections of the game field is N ft². Each section has a rectangle of dimensions X ft x Y ft re...
1년 초과 전