Solved

UICBioE240 problem 1.12
The mathematical quantities e^x, ln x, and log x are calculated in Matlab using the expressions exp(x), log(x), and log10(x), re...

mer än ett år ago

Solved

UICBioE240 problem 1.14
Solve 3^x = 17

mer än ett år ago

Solved

UICBioE240 problem 1.16
sin^2(pi/6) + cos^2(pi/6)

mer än ett år 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...

mer än ett år ago

Solved

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

mer än ett år ago

Solved

UICBioE240 2.8
Convert x number of hours into seconds.

mer än ett år ago

Solved

Least common multiple of many numbers
1:6 -> 60

mer än ett år ago

Solved

wipe out!
make all the elements in given x zero.

mer än ett år ago

Solved

Sudoku square
We have a small Sudoku square, but one number is missing. x = [ 1 5 4 8 6 3 0 9 7 ] Make a function, wher...

mer än ett år ago

Solved

be able to add any variable to the number one

mer än ett år ago

Solved

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

mer än ett år ago

Solved

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

mer än ett år ago

Solved

UICBioE240 problem 1.13
Compute the following - y = x^5/(x^-1) and y = (1-(1/x^5))^-1. Have the final answer of y to equal a 1 by 2 vector.

mer än ett år ago

Solved

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.

mer än ett år ago

Solved

Orthogonal lines
Check whether two given lines are orthogonal or not. Two lines are orthogonal if they create a right angle at their intersect...

mer än ett år ago

Solved

determine if
determine if the elements of a matrix is a nan and return true

mer än ett år ago

Solved

Where is the number that you want to find?
For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and th...

mer än ett år ago

Solved

find the 'M'
for an input x, return 1 at the location of the letter 'M'

mer än ett år ago

Solved

Make an identity matrix whose diagonal elements are 1:n
For a given input n, make an n by n identity matrix that contains the elements 1:n along its diagonal. For example, if input=5: ...

mer än ett år ago

Solved

Replace all odd numbers with NaN
Replace all odd numbers in the vector or matrix with NaN. For example, if x = [1 3 4 5 8 11]; then return y = [NaN Na...

mer än ett år ago

Solved

true or false
if the matrix has a zero, return true. else, return false

mer än ett år ago

Solved

PEMDAS test (★★)
Create the function that will return the following expression for x and y. <<https://i.ibb.co/RHWyzrv/Code-Cogs-Eqn-1.gif>> ...

mer än ett år ago

Solved

Generate n equally spaced "intervals" between -x and x (★)
Given n and x, return a list of numbers (in ascending order) that divides the interval [-x x] into n equal-length intervals. ...

mer än ett år ago

Solved

Mo money, mo math 1! (★★★)
(adapted from Prob 9 Cody team) You have a vector where the elements represent the number of \$20 bills, \$10 bills, \$5 bills, ...

mer än ett år ago

Solved

Function 1 (★)
Compute the value of <<https://i.imgur.com/AxKWLmE.gif>> for any given positive x.

mer än ett år ago

Solved

Mo money, mo math #2! (★★★)
(adapted from Prob 9 Cody team) You have a matrix for which each row is a person and the columns represent the number of quar...

mer än ett år ago

Solved

Median computation (★★★)
See easy edition of this problem. However, now you must compute the median of any real-valued vector without using the in-built...

mer än ett år ago

Solved

Fill a zeros matrix (★★★★★)
(Copy of Problem 830) The aim is to fill an array of all zeros given a numerical value and the index of row and columns for t...

mer än ett år ago

Solved

*Prime number check 2 (in construction)
Another way to see if a number is prime is to count the number of factors. For example, the number 4 has 2 factors, [ 2 4 ]...

mer än ett år ago

Solved