Feeds
문제
Vector with a repeated entry
Create a row vector of length n, filled with 5's. For example, if n = 3, output = [4 4 4] Hint: Search for the function...
9년 초과 전 | 1 | 솔버 수: 107
문제
If you have matrix A, create matrix B using matrix A as an "element"
A = [1 2 3 4; 5 6 7 8] B = [1 2 3 4 1 2 3 4; 5 6 ...
9년 초과 전 | 1 | 솔버 수: 127
문제
Square root of a number
Write a code that will output the square root of x.
9년 초과 전 | 1 | 솔버 수: 452
문제
Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...
9년 초과 전 | 1 | 솔버 수: 165
문제
Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416
9년 초과 전 | 5 | 솔버 수: 586
문제를 풀었습니다
Corresponding letter to ASCII code.
Given the letter, the output will show the corresponding ASCII code.
9년 초과 전
문제
Corresponding letter to ASCII code.
Given the letter, the output will show the corresponding ASCII code.
9년 초과 전 | 0 | 솔버 수: 103
문제를 풀었습니다
ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.
9년 초과 전
문제
ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.
9년 초과 전 | 0 | 솔버 수: 102
문제
ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.
9년 초과 전 | 2 | 솔버 수: 111
문제를 풀었습니다
Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250
9년 초과 전
문제
Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250
9년 초과 전 | 4 | 솔버 수: 355
문제를 풀었습니다
Given the variable x as your input, multiply it by four, then divide it by two. Then put the result in y.
If x = 5, y = 4*5/2 = 10
9년 초과 전
문제
Given the variable x as your input, multiply it by four, then divide it by two. Then put the result in y.
If x = 5, y = 4*5/2 = 10
9년 초과 전 | 0 | 솔버 수: 187
문제를 풀었습니다
UICBioE240 problem 1.1
Remove the middle row from a matrix, assuming # of rows is odd. So if A = [ 1 2 3; 4 5 6; 7 8 9] the...
9년 초과 전
문제를 풀었습니다
UICBioE240 problem 1.5
Find the size of the matrix, then multiply both values by 10 and make it into a column vector. So if A = [ 1 2 3; ...
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년 초과 전
문제를 풀었습니다
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.
9년 초과 전
문제를 풀었습니다
Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...
10년 초과 전
문제를 풀었습니다
Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...
10년 초과 전
문제를 풀었습니다
Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
10년 초과 전
문제를 풀었습니다
surface of a spherical planet
you just discovered its circumference, that is the input.
10년 초과 전
문제를 풀었습니다
Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...
10년 초과 전
문제를 풀었습니다
Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...
10년 초과 전






