Solved


UICBioE240 2.6
Given a row vector containing all x1, and a column vector containing all x2, and their lengths are equal, create a column vector...

10 years ago

Solved


UICBioE240 2.7
Given x1 and x2, create a 3x3x3 matrix Y where (:,:,1) has all values of x1*x2, (:,:,2) has all values of x1-x2, and (:,:,3) has...

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

10 years ago

Solved


UICBioE240 2.2
Make a 3x4 matrix that contains all ones.

10 years ago

Solved


UICBioE240 2.3
Make a 4D matrix of 4x4x3x4 containing all zeros.

10 years ago

Solved


UICBioE240 2.8
Convert x number of hours into seconds.

10 years ago

Solved


Spot the outlier
All points except for one lie on a line. Which one is the outlier? Example: You are given a list of x-y pairs in a column ...

10 years ago

Solved


Create a fixed format text output
Given a short brief matrix, such as x = [1.2 2.4 3.6; 1.5 2.3 3.5; 1.35 2.35 3.65] and a label 13, create a fixed format text o...

10 years ago

Solved


UICBioE240 2.9
Find the number of minutes between September X1th 9:15AM to September X2th 2:44PM.

10 years ago

Solved


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

10 years ago

Solved


Better bullseye matrix
<http://www.mathworks.com/matlabcentral/cody/problems/18-bullseye-matrix Problem 18> asks to create a bullseye matrix like this:...

10 years ago

Solved


UICBioE240 2.5
Given a row vector containing all x1, and a column vector containing all x2, and their lengths are equal, create a row vector co...

10 years ago

Solved


UICBioE240 2.4
Given equation for half-life of a drug

10 years ago

Solved


Nth root.
* Assign outValues with the nth root of the inValues, the root is specified by rootValue

10 years ago

Solved


I want 50 values from 0 to pi
ExampleA = linspace(a,b,c)

10 years ago

Solved


Recursion - Fun
Generate the first k terms in the sequence a(n) define recursively by a(n+1)=p*a(n)+(1+a(n)) with p=0.9 and a(1)=0.5 ...

10 years ago

Solved


the number of inputs
Find the number of the inputs of the function. example y = theinputnumber(x,k); function called theinputnumber has 2 in...

10 years ago

Solved


add two values
add two values

10 years ago

Solved


Kwabna
add two numbers

10 years ago

Solved


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

10 years ago

Solved


Add two to x
Create a script such that y equals x plus 2

10 years ago

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

10 years ago

Solved


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

10 years ago

Solved


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

10 years ago

Solved


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

10 years ago

Solved


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

10 years ago

Solved


Matrix FUN
Given a Matrix M, find out the number of elements of matrix that are divisible by 3. M = [1 2 3;4 5 6;7 8 9]; ou...

10 years ago

Solved


Place numbers
Given two input first input is a matrix which consist of the index numbers of the second input vector. You place the second inpu...

10 years ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

10 years ago

Solved


Determine if the sum of y is greater than the sum of x.
Given the vector x and the vector y, determine which sum is greater.

10 years ago

Load more