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;
...
9年以上 前
解決済み
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 ...
9年以上 前
解決済み
UICBioE240 problem 1.18
exp(pi/5*i) and exp(pi/5i). Is there any difference in result? Write yes or no as a string.
9年以上 前
解決済み
Vector LCM
* Find Least Common Multiple of a given vector.
* Need general solution as the test suite will be expanded.
* Function Templa...
9年以上 前
解決済み
Alkane
Given a number, x, that is equal to the number of carbon atoms in an <http://en.wikipedia.org/wiki/Alkane alkane>, find, y, the ...
Sum the squares of numbers from 1 to n
For a given value of n return the sum of square of numbers from 1 to n.
Example
For n = 2
then sum of squares = 5 (1^2 + ...
"Find out the best cricket"
This is how I originally read Problem 2013, so let's just go with it. Give me the first and last name of the best cricket, rega...
9年以上 前
解決済み
NO _________ ALLOWED....
So you're given a sentence where if there is a particular word in the sentence then the output is 1, if it is not there then the...
square root
Find the square root (y) of an input (x).
9年以上 前
解決済み
Help the Patriots get to the Super Bowl
Given a football by the Patriots, return it to them with 2 psi less air in it.
(The original psi is passed as a number to the...
9年以上 前
解決済み
Vector Magnitude Calculator
'a' is a vector that starts at the origin and ends at (x, y). Find ||a||.
Hint: It is as simple as "ABC".
9年以上 前
解決済み
UICBioE240 2.1
This will be useful later in the course, in conjunction to clc and clear all, what is the command to close all figure windows th...