Saul
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
Calculate the average value of the elements in the array
Calculate the average value of the elements in the array
1년 초과 전
문제를 풀었습니다
Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...
1년 초과 전
문제를 풀었습니다
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 ...
1년 초과 전
문제를 풀었습니다
Convert from Base 10 to base 5
Convert the input number from base 10 into base 5: for example: if a(in base 10)= 5 then a(in base 5)= 10
1년 초과 전
문제를 풀었습니다
Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...
1년 초과 전
문제를 풀었습니다
Remove the positive integers.
Given array x (of integers), remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -...
1년 초과 전
문제를 풀었습니다
Matlab Basics - Logical Tests I
Write a script to test whether a year number is for a leap year or not. eg. x = 1884 output = 1 eg. x = 3 output = 0
1년 초과 전
문제를 풀었습니다
Related Vectors
I have two vectors A & B. If the values in vector A is zero then the corresponding value in vector B should be zero. Example:...
1년 초과 전
문제를 풀었습니다
Matlab Basics - Pick out parts of a vector
Consider x a vector of length >= 7 (there are at least 7 elements in the vector, write a script that extracts the 2nd element, a...
1년 초과 전
문제를 풀었습니다
Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...
1년 초과 전
문제를 풀었습니다
Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.
1년 초과 전
문제를 풀었습니다
All your base are belong to us
Find the base _b_ logarithm of the input decimal number _x_. Express the output as a decimal number. The first argument is the n...
1년 초과 전
문제를 풀었습니다
Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...
1년 초과 전