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...
7년 초과 전 | 1 | 솔버 수: 101
문제
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 ...
7년 초과 전 | 1 | 솔버 수: 115
문제
Square root of a number
Write a code that will output the square root of x.
7년 초과 전 | 1 | 솔버 수: 389
문제
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...
7년 초과 전 | 1 | 솔버 수: 149
문제
Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416
7년 초과 전 | 4 | 솔버 수: 512
문제를 풀었습니다
Corresponding letter to ASCII code.
Given the letter, the output will show the corresponding ASCII code.
7년 초과 전
문제
Corresponding letter to ASCII code.
Given the letter, the output will show the corresponding ASCII code.
7년 초과 전 | 0 | 솔버 수: 98
문제를 풀었습니다
ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.
7년 초과 전
문제
ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.
7년 초과 전 | 0 | 솔버 수: 94
문제
ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.
7년 초과 전 | 2 | 솔버 수: 106
문제를 풀었습니다
Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250
7년 초과 전
문제
Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250
7년 초과 전 | 4 | 솔버 수: 318
문제를 풀었습니다
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
7년 초과 전
문제
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
7년 초과 전 | 0 | 솔버 수: 169
문제를 풀었습니다
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...
거의 8년 전
문제를 풀었습니다
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; ...
거의 8년 전
문제를 풀었습니다
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...
거의 8년 전
문제를 풀었습니다
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.
거의 8년 전
문제를 풀었습니다
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...
거의 9년 전
문제를 풀었습니다
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...
거의 9년 전
문제를 풀었습니다
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...
거의 9년 전
문제를 풀었습니다
surface of a spherical planet
you just discovered its circumference, that is the input.
거의 9년 전
문제를 풀었습니다
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...
거의 9년 전
문제를 풀었습니다
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...
거의 9년 전