UICBioE240 problem 1.12
The mathematical quantities e^x, ln x, and log x are calculated in Matlab using the expressions exp(x), log(x), and log10(x), re...
UICBioE240 problem 1.5
Find the size of the matrix, then multiply both values by 10 and make it into a column vector.
So if A = [ 1 2 3;
...
3年以上 前
解決済み
UICBioE240 problem 1.13
Compute the following -
y = x^5/(x^-1) and
y = (1-(1/x^5))^-1.
Have the final answer of y to equal a 1 by 2 vector.
3年以上 前
解決済み
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.
...
3年以上 前
解決済み
Matrix Indexing
Given a matrix A and scalars r,c,i, find the product of two elements, with the first element located at row r and column c (doub...
Find the last digit
FInd the last digit of a given number. Given number is the input and output should be the last digit of that number.
3年以上 前
解決済み
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 ...
Area of square
Find the area of a square whose diagonal length is given as x.
3年以上 前
解決済み
Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)
3年以上 前
解決済み
intervals
Write a function that takes an interval from a to b, and divides it into 6 parts.
3年以上 前
解決済み
Fill a zeros matrix (★★★★★)
(Copy of Problem 830)
The aim is to fill an array of all zeros given a numerical value and the index of row and columns for t...
3年以上 前
解決済み
row removal
Remove the nth row from input matrix M and return the resulting matrix in output N.
3年以上 前
解決済み
sum all digits
input = 123456789, output = 1+2+3+4+5+6+7+8+9 = 45