Solved

Matlab Basics - Assigning Variables
Assign different types of data to variables: integer, double, and strings Example: A is a double, for example 2.34 B is a...

23 dagar ago

Solved

ASCii Code
Using Matlab get the ASCii for '?'

23 dagar ago

Solved

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

23 dagar ago

Solved

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

23 dagar ago

Solved

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

23 dagar ago

Solved

Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...

23 dagar ago

Solved

Create a Standard Size Vector
Given an input x, create a row vector y from 1 to x with 5 elements.

23 dagar ago

Solved

Square a Number
Given an input x, return y, which is equal to the square of x.

23 dagar ago

Solved

Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

23 dagar ago

Solved

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

23 dagar ago

Solved

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

23 dagar ago

Solved

All your base are belong to us
Find the base _b_ logarithm of the input decimal number _x_. Express the output as a decimal number. The first argument is the n...

23 dagar ago

Solved

Add a row of zeros on top of a matrix
Given a matrix, insert a row of zeros as the top row.

23 dagar ago

Solved

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

23 dagar ago

Solved

Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

23 dagar ago

Solved

Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

23 dagar ago

Solved

Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

23 dagar ago

Solved

What's Your BMI?
Find the body mass index. For reference, please refer to Wikipedia here: <http://en.wikipedia.org/wiki/Body_mass_index body ...

23 dagar ago

Solved

Array of Ones
Create a 100 X 100 array of ones.

23 dagar ago

Solved

Matlab Basics - Set unwanted 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. Example x = [1 2 3 4 5 6 7] --> ...

24 dagar ago

Solved

Test Problem; Create a 5x5 array containing all ones
This is a test for learning the process of creating a Cody problem. The goal of this test problem will be to create an array,...

24 dagar ago

Solved

Add two numbers
Add two numbers (For beginners)

24 dagar ago

Solved

Area of rhombus
Calculate the rhombus area

24 dagar ago

Solved

Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

24 dagar ago

Solved

Dancing with wolves?
let wolf() make one or two steps to get a feel of the beat, it is waltz, do not let wolf() make the third step, return safely ju...

24 dagar ago

Solved

given 3 sides, find area of this triangle
1:3 -> 0; 3:5 -> 6

24 dagar ago

Solved

capable husband?
* The prospective husband must pass a background check, * and *functions* faithfully, as suggested by <http://www.mathworks.com...

24 dagar ago

Solved

Given a number N, find the smallest prime P>N
Given a number N, find the smallest prime P greater than N. For example: If N=10 then P=11. If N=13 then P=17.

24 dagar ago

Solved

Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

25 dagar ago

Solved

Calories in a slice of pizza?
The total calories C in a pizza is printed on its box. You know the angle A (degrees) of the slice you placed on your plate. Ple...

25 dagar ago

Load more