문제를 풀었습니다


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

대략 9년 전

문제를 풀었습니다


Times 3 problem
When you enter the number, it should return the number multiplied by 3

대략 9년 전

문제를 풀었습니다


Array of Ones
Create a 100 X 100 array of ones.

대략 9년 전

문제를 풀었습니다


Values in Array
How many values are in the array

대략 9년 전

문제를 풀었습니다


Calculate the values of a polynomial.
Calculate the values of a polynomial.Input parameter p - vector of polynomial coefficients, x - matrix of the argument values. ...

대략 9년 전

문제를 풀었습니다


Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

대략 9년 전

문제를 풀었습니다


Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] ...

대략 9년 전

문제를 풀었습니다


Create a vector whose elements depend on the previous element
The idea is to create a vector A whose elements depend on the previous element : *A(i+1) = 2*A(i)+1* *2 Inputs*: - A : The...

대략 9년 전

문제를 풀었습니다


Computing wind chill
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

대략 9년 전

문제를 풀었습니다


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

대략 9년 전

문제를 풀었습니다


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

대략 9년 전

문제를 풀었습니다


Food safety
Assign safeTemperature with 1 if foodTemperature is less than 40 or greater than 165.

대략 9년 전

문제를 풀었습니다


Bruh
Return 'bruh'.

대략 9년 전

문제를 풀었습니다


Matlab Basics - y as a function of x
write a script to calculate y as a function of x, such that y = 6x^2 + 5x - 2

대략 9년 전

문제를 풀었습니다


How many digits are there?
Input(s) - any string Output(n) - number of digits within string s

대략 9년 전

문제를 풀었습니다


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

대략 9년 전

문제를 풀었습니다


Matlab Basics II - Velocity of a particle
A particle is moving in space, such that it's velocity is given by: <<http://s30.postimg.org/5rf1xtvj5/cody1.png>> write a...

대략 9년 전

문제를 풀었습니다


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

대략 9년 전

문제를 풀었습니다


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

대략 9년 전

문제를 풀었습니다


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

대략 9년 전

문제를 풀었습니다


Matlab Basics II - Minimum
Write a function that returns the minimum of each ROW of a matrix x example: x = [1 2 3; 4 5 6]; output [1;4];

대략 9년 전

문제를 풀었습니다


Find scalar product of two polynomials a and b, given as vector array.
Find scalar product of two polynomials given as vector array. Example a=[1 -1 2]; b=[2 4 1]; result=0

대략 9년 전

문제를 풀었습니다


UICBioE240 problem 1.10
Find the number of cells in a bioreactor after a given time when doubling time is dd and initial number of cells is x. So if ...

대략 9년 전

문제를 풀었습니다


Matlab Basics - Logical Tests I
Write a script to test whether a year number is for a leap year or not. eg. x = 1884 output = 1 eg. x = 3 output = 0

대략 9년 전

문제를 풀었습니다


UICBioE240 problem 1.2
Convert a column vector into a row vector. So if A = [1; 2; 3] Then B = [ 1 2 3]

대략 9년 전

문제를 풀었습니다


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

대략 9년 전

문제를 풀었습니다


UICBioE240 problem 1.9
Swap the first and last columns of a matrix. So if A = [12 4 7; 5 1 4]; B = [7 4 12; 4 1 5]; ...

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

대략 9년 전

문제를 풀었습니다


Duplicate each element of a vector.
for an n-dimensional vector x, the function should return another vector 2n-dimension which each element is repeated twice. Ex...

대략 9년 전

문제를 풀었습니다


Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

대략 9년 전

더 보기