UICBioE240 problem 1.8
Given a list of grades in a class, write a script that gives the 2nd highest grade in the class and the average for the class.
...
約7年 前
解決済み
UICBioE240 problem 1.9
Swap the first and last columns of a matrix.
So if A = [12 4 7;
5 1 4];
B = [7 4 12;
4 1 5];
...
UICBioE240 problem 1.6
Find the tangent line of a right triangle given the two of the sides.
So if A = [1 1]
B = sqrt(2)
約7年 前
解決済み
UICBioE240 problem 1.2
Convert a column vector into a row vector.
So if A = [1;
2;
3]
Then B = [ 1 2 3]
約7年 前
解決済み
Matlab Basics II - Max & Index of Max
Write a function that takes a vector x, then returns both the max value in x and its location in the vector
for example
x ...
Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands. Let y be output and x be input
約7年 前
解決済み
Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements.
Example:
x = [1 2 ...
BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum.
Examp...
Find out magnitude of vector
Find out magnitude of vector.
Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2)
Please don't use sum function.
If you l...