Solved


Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

9 months ago

Solved


Print true if
all elements are larger than 5 a=[1 3 5 8 6]; b=[6 6 6 6 6]; function(a) should be false, and function(b) will be tru...

9 months ago

Solved


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

9 months ago

Solved


Find the sum of all integers in a given matrix
Finding sum of all integers in a given matrix

9 months ago

Solved


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

9 months ago

Solved


Matlab Basics - Set unwanted parts of a vector to zero
Consider a vector x, of length >= 7, write a script to set elements 2, 5, and 6 to zero. Example x = [1 2 3 4 5 6 7] --> ...

9 months ago

Solved


Swap rows

9 months ago

Solved


Find Current in R circuit.
Find the current in an R circuit for a given input of Voltage (V) and Resistance(R).

9 months ago

Solved


Area of a rectangle
FInd the area of a rectangle with a length L and width W. Round to the nearest integer.

9 months ago

Solved


Number of problems
No, you don't read it wrong: this assignment is to return the number of this problem (and not the problem of this number).

9 months ago

Solved


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

9 months ago

Solved


UICBioE240 problem 1.14
Solve 3^x = 17

9 months ago

Solved


Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input is n=4 th...

9 months ago

Solved


imaginary

9 months ago

Solved


Convert degrees to radians
Given input in degrees, output to radians

9 months ago

Solved


Given a vector x, return vector y with all negative elements from the vector x.
Given a vector x, return vector y with all negative elements from the vector x if x has negative elements. Otherwise return 0. ...

9 months ago

Solved


Find sum of negative elements in row.
Find sum of negative elements in row. Example x=[1 -5 3 4 -6 6 7 8 9 10] result = -11

9 months ago

Solved


Back to Basics - New Data Type in R2016b - convert a char to a string
Convert an char array into a string.

9 months ago

Solved


Vertical matrix sort
Given a matrix x with n rows and m columns, return a matrix y with 2n rows and m columns, such that every column in x is sorted ...

9 months ago

Solved


determine amount cookies left
started with 3 cookies and you never ate any how many are left

9 months ago

Solved


Solve expression I
Solve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.

9 months ago

Solved


Product of elements in a column

9 months ago

Solved


Calculate Resistance 2
In this problem, you have to calculate Resistance R of a linear conductor having voltage V across it and current I is passing i...

9 months ago

Solved


Counting down
Create a vector that counts from 450 to 200 in increments of 10.

9 months ago

Solved


Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

9 months ago

Solved


first element of matrix
find the first elements of a column matrix

9 months ago

Solved


Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

9 months ago

Solved


Sum of even numbers in a vector
Write a function that takes a vector of numbers and returns the sum of all the even numbers in the vector.

9 months ago

Solved


Addition II
find a+b+c+d

9 months ago

Solved


Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

9 months ago

Load more