Community Profile

photo

Omar Abedalrahman


2016년부터 활동

Followers: 0   Following: 0

통계

All
  • Thankful Level 1
  • Commenter
  • Solver

배지 보기

Feeds

보기 기준

질문


Can anyone help me with this question using MATLAB? I'm not sure which function to use.
Wright et al. (A-2) used the 1999-2000 National Health and Nutrition Examination Survey (NHANES) to estimate dietary intake of 1...

7년 초과 전 | 답변 수: 2 | 0

2

답변

문제를 풀었습니다


Is my wife right?
Regardless of input, output the string 'yes'.

7년 초과 전

문제를 풀었습니다


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

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

문제를 풀었습니다


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

7년 초과 전

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

7년 초과 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

문제를 풀었습니다


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

문제를 풀었습니다


Corresponding letter to ASCII code.
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년 초과 전

문제를 풀었습니다


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

문제를 풀었습니다


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

질문


I'm supposed make a vector called Vec that contains a 1x9 ranging from integers 1 through 9 in random order. There always tends to be a zero in the vector when the code is ran. How can I find the zeros and replace them with an integer from 1-9.
%I have this so far Vec = rand(1,9)*9; %I keep getting zeros in the vector when the code is ran. How can find the zero a...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Can someone show me how to replace the 4th elements of vector a2 with c1, and name the new vector a4?
a2 = [1.1 2.2 3 4.4 5.5]; c1 = 5-7i

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How do I include a variable when trying to display a string?
I created a start time and saved it. I want to include this variable in the end of the string, but what I'm doing is not workin...

7년 초과 전 | 답변 수: 1 | 0

1

답변

문제를 풀었습니다


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

7년 초과 전