Community Profile

photo

Kholoud Baste


2016년부터 활동

통계

  • Solver

배지 보기

Content Feed

보기 기준

문제를 풀었습니다


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

7년 초과 전

문제를 풀었습니다


Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

7년 초과 전

문제를 풀었습니다


Matlab Basics - Set unwated parts of a vector to zero
Consider a vector x, of length >= 7, write a script to set elements 2, 5, and 6 to zero. e.g. x = [1 2 3 4 5 6 7] --> x = [1 ...

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

문제를 풀었습니다


Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2

7년 초과 전

문제를 풀었습니다


Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

문제를 풀었습니다


Matlab Basics - Create a row vector
Write a Matlab script to create a row vector of 10 consecutive numbers x = [1 2 3 4 5 6 7 8 9 10]

7년 초과 전

문제를 풀었습니다


Log of a number
Write a script that will give the log of x as output.

7년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


Vector with a repeated entry
Create a row vector of length n, filled with 4's. For example, if n = 3, output = [4 4 4] Hint: Search for the function...

7년 초과 전

문제를 풀었습니다


Corresponding letter to ASCII code.
Given the letter, the output will show the corresponding ASCII code.

7년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

7년 초과 전

문제를 풀었습니다


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

7년 초과 전

문제를 풀었습니다


Matlab Basics - Sum a vector
Write a script to add up all the elements in a vector e.g. x = [1 2 3 4] --> output = 10

7년 초과 전

문제를 풀었습니다


Square root of a number
Write a code that will output the square root of x.

7년 초과 전

문제를 풀었습니다


ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.

7년 초과 전

문제를 풀었습니다


ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.

7년 초과 전

문제를 풀었습니다


Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

7년 초과 전

문제를 풀었습니다


ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122

7년 초과 전

문제를 풀었습니다


ASCii Code
Using Matlab get the ASCii for '?'

7년 초과 전

문제를 풀었습니다


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

7년 초과 전

문제를 풀었습니다


Complex number
For complex number c=a+bi, write code that will add a and b together.

7년 초과 전

문제를 풀었습니다


Evaluating a polynomial
Given the following polynomial and the value for x, determine y. y = 3x^5 – x^3 + 8x – 3 Example x = 1 y = 3 - 1 +...

7년 초과 전

문제를 풀었습니다


Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

7년 초과 전

문제를 풀었습니다


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

7년 초과 전

문제를 풀었습니다


Remainder
Make 'y' equal to the remainder of 27 divided by 5. When x=27 and t=5

7년 초과 전

더 보기