문제를 풀었습니다


Given a Vector v1, create v2 which is the sum of each two adjacent elements in v1. {length(v2)=length(v1)-1}
if v1 is [1 2 3 4 5 6 7 8] then v2 should be [3 5 7 9 11 13 15]. if v1 is [1; 3; 5; 7] the...

2년 초과 전

문제를 풀었습니다


Palindrome Check
Check whether the entire matrix is palindrome or not. Example matrix = [7 8 7] matrix_reverse = [7 8 7] So the mat...

2년 초과 전

문제를 풀었습니다


Variable_Addition
be able to add any variable to the number one

2년 초과 전

문제를 풀었습니다


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.

2년 초과 전

문제를 풀었습니다


Convert Two Character String into a Binary Vector
Given a string "XOXXO" convert it into a binary vector. [1 0 1 1 0] Paul Berglund implemented an optimal method in <http://ww...

2년 초과 전

문제를 풀었습니다


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

2년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.17
In the expression (2+5i), how does MATLAB read the expressions A = 2+5i B = 2+5*i C = both are okay Write capital letter a...

2년 초과 전

문제를 풀었습니다


Find the Pattern 10

2년 초과 전

문제를 풀었습니다


cross in array
Make a cross from "1" in odd size array. Other value from array should be equal to "0"; As input you get length of side of arra...

2년 초과 전

문제를 풀었습니다


Wheat on a chessboard pt 1
If a chessboard were to have wheat placed upon each square such that one grain were placed on the first square and each successi...

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


Solve Linear equations
Solve Linear equations Example: x+y=2 and x+2y=3, then x and y equal to 1.

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


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)

2년 초과 전

문제를 풀었습니다


DC chopper
Input x is the sampled signal vector, may have both AC and DC components. output vector y should have AC components removed then...

2년 초과 전

문제를 풀었습니다


Saving MATLAB session to a file
How to save MATLAB session to a file?

2년 초과 전

문제를 풀었습니다


Determine if input is a Narcissistic number
<http://en.wikipedia.org/wiki/Narcissistic_number Narcissistic number> is a number that is the sum of its own digits each raised...

2년 초과 전

문제를 풀었습니다


Cos Function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


Mid-term report
You just got your mid-term report, but it's full of ones and twos :(. So before you give it to your parents, you change it, in o...

2년 초과 전

문제를 풀었습니다


Box
Give the volume of a box, x is equal to the body diagonal.

2년 초과 전

문제를 풀었습니다


Find the maximum two numbers of every column of a matrix
Find the maximum two numbers of every column of a matrix. Example: If we input a matrix A = [ 1 2 4 6 0 3 ...

2년 초과 전

문제를 풀었습니다


UICBioE240 2.8
Convert x number of hours into seconds.

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


Divisors of an integer
Given a number N, return a vector V of all integers that divide N. For example, N = 10 Then V=[1 2 5 10]

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


Combined Ages 1 - Symmetric, n = 3
You have probably seen the common riddle wherein combined ages are provided and you must determine the individual ages. For exam...

2년 초과 전

문제를 풀었습니다


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.

2년 초과 전

문제를 풀었습니다


Let's get back to school, and create multiplication tables
For a given range, create multiplication tables. (start is always < endno) Example start = 17 endno = 19 Then, ...

2년 초과 전

더 보기