Resuelto


Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

casi 5 años hace

Resuelto


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

casi 5 años hace

Resuelto


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

casi 5 años hace

Resuelto


Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

casi 5 años hace

Resuelto


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;...

casi 5 años hace

Resuelto


Create Vector containing following elements
Create Vector containing following elements A=[pi eps NaN inf -inf flintmax];

casi 5 años hace

Resuelto


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...

casi 5 años hace

Resuelto


Upper case and lower case!

casi 5 años hace

Resuelto


Compare two input matrices
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0". Exa...

alrededor de 5 años hace

Resuelto


Change matrix to vector2
From x = 4 3 5 1 5 1 To y = 4 3 5 1 ...

alrededor de 5 años hace

Resuelto


What day is it?
Tell me what day is it. Return the full name of the day of the week as a string. e.g. It's June 12th 2014, so your function s...

alrededor de 5 años hace

Resuelto


If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

alrededor de 5 años hace

Resuelto


square number
Square a number

alrededor de 5 años hace

Resuelto


factorial of a number x
Factorial of a number x

alrededor de 5 años hace

Resuelto


The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

alrededor de 5 años hace

Resuelto


convert matrix to single column
given any matrix, convert it to single column

alrededor de 5 años hace

Resuelto


Add two numbers
Add two numbers (For beginners)

alrededor de 5 años hace

Resuelto


factorial
calculate x!

alrededor de 5 años hace

Resuelto


Switch matrix to a column vector
for e.g. x = [1 2 3 4] y = 1 3 2 4

alrededor de 5 años hace

Resuelto


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...

alrededor de 5 años hace

Resuelto


UICBioE240 problem 1.14
Solve 3^x = 17

alrededor de 5 años hace

Resuelto


UICBioE240 2.10
Given a vector of numbers, give the difference between the maximum and minimum values.

alrededor de 5 años hace

Resuelto


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)

alrededor de 5 años hace

Resuelto


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; ...

alrededor de 5 años hace

Resuelto


UICBioE240 problem 1.4
So if A = [ 1 2 3; 4 5 6; 7 8 9] B = [ 3 3]

alrededor de 5 años hace

Resuelto


UICBioE240 problem 1.3
Find the length of a vector. So if A = [1 1 1 1 1] Then B = 5

alrededor de 5 años hace

Resuelto


.

alrededor de 5 años hace

Resuelto


Doubling elements in a vector (★★)
(copy of prob. 1024) Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] t...

alrededor de 5 años hace

Resuelto


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

alrededor de 5 años hace

Resuelto


Count up then down
Create a function that produces counting up from 0 up to n then down to 0 n=2 --> 0 1 2 1 0 n=3 --> ...

alrededor de 5 años hace

Cargar más