Question

How to Run Sim command for non display matlab.

I am facing following error while running Model in Non display matlab using sim() Error: Harness operations are not supported...

4 months ago | 0 answers | 0

Solved

Convert given decimal number to binary number.

Convert given decimal number to binary number. Example x=10, then answer must be 1010.

5 months ago

Solved

Determine the square root

Determine the square root of the value the user has entered, n.

1 year ago

Solved

Beginner's Problem - Squaring

Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

1 year ago

Solved

multiply by three

Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

1 year ago

Solved

Divide by 4

Given the variable x as your input, divide it by four and put the result in y.

1 year ago

Solved

Back to basics 1 - Saving

Covering some basic topics I haven't seen elsewhere on Cody. Given an input variable 'x', save it to disk in a file named 'co...

1 year ago

Solved

Find the area of a triangle

Given a triangle with a base b and height h, return the triangle area.

1 year ago

Solved

Area of a Square

Given the length x of the side of a regular square, find the area of the square, A.

1 year ago

Solved

Find the area of the four walls

If length, breadth and height of the walls are given, find the area of the four walls.

1 year ago

Solved

Area of a Square

Inside a square is a circle with radius r. What is the area of the square?

1 year ago

Solved

Area of a triangle

A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

1 year ago

Solved

Read it !

read and return the following word. 'M M A TTTTTTTTTL A BBB ' 'MM MM A A T L ...

1 year ago

Solved

Squaring Matrix

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

3 years ago

Solved

Plus x: A first program

_Solve this problem in Mathwork's online Cody system._ Write a statement that assigns y with 5 plus x. Ex: If input x = 2,...

3 years ago

Solved

Transpose

Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

3 years ago

Solved

Arithmetic array operations

* Add x to each element of array temperatureReadings.

3 years ago

Solved

Is it a number?

Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

3 years ago

Solved

Circle area using pi

Write a statement that assigns circleArea with the circle's area given circleRadius. Use the built-in mathematical constant pi. ...

3 years ago

Solved

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

4 years ago

Solved

Assigning a sum

* Write a statement that assigns numCoins with numNickels + numDimes.

4 years ago

Solved

Pizza value using expression with parentheses

Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...

4 years ago