Solved


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

9 years ago

Solved


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

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

9 years ago

Solved


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

9 years ago

Solved


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

9 years ago

Solved


What number has this problem?
This problem is added because it is problem number *???* in the "Community" problems section. <http://www.mathworks.de/matlab...

9 years ago

Solved


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

9 years ago

Solved


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

9 years ago

Solved


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

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

9 years ago

Solved


Integer indexing array: Weekend box office
The row array movieBoxOffice stores the amount of money a movie makes (in millions of $) for the 7 days of a week, starting with...

9 years ago

Solved


length of a vector
Find twice the length of a given vector.

9 years ago

Solved


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

9 years ago

Solved


Rounding
Round 10.67 and make 'y' equal to that number.

9 years ago

Solved


Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

9 years ago

Solved


Solving Quadratic Equations (Version 1)
Quadratic equations have the form: ax^2 + bx + c = 0. Example: x^2 + 3x + 2 = 0, where a = 1, b = 3, and c = 2. The equation has...

9 years ago

Question


pause with time and keyboard
I have put the |pause| function in my code. After pause I would like to restart the script after some time (i.e. 10 seconds) or...

9 years ago | 1 answer | 0

1

answer

Answered
How can I graph the following parametric functions on a 3d graph?
If R is a constant the code is: theta=[0:0.1:6.28]; phi=[0:0.1:6.28]; R=2; [THETA,PHI]=meshgrid(theta,phi); X2=...

9 years ago | 0

Answered
Figure of screen size
If your screen has for example the resolution 1920x1080: fig1 = figure; pos_fig1 = [0 0 1920 1080]; set(fig1,'Positio...

9 years ago | 0

Answered
parfor. Error: The variable eavg in a parfor cannot be classified.
*@Mohammad Abouali* : Thanks to you help I solve the problem in this way: parfor i0 = 1:size(vett,2) if curva~=2 ...

9 years ago | 0

Question


parfor. Error: The variable eavg in a parfor cannot be classified.
I have already read other topic on Errors and parfor but i don't find the answer to my problem. My code give me an Error: "E...

9 years ago | 2 answers | 0

2

answers

Solved


Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

10 years ago

Solved


Delete 2nd and 5th column of Given 6*6 matrix
Delete the 2nd and 5th columns of the given 6*6 matrix. Example Suppose A = magic(6) 35 1 6 26 19 ...

10 years ago

Solved


Must be in the front row...
You are given a matrix followed by a single number. Your object is to write a script that will shift the matrix around so that ...

10 years ago

Solved


Dudeney Numbers: Numbers which are the cube of their decimal sum
From Wikipedia: _A Dudeney number is a positive integer that is a perfect cube such that the sum of its decimal digits is equa...

10 years ago

Solved


Change the first and last diagonal element of the identity matrix to zero
Starting with the identity matrix, change first and last diagonal element to zero. Example If n=5 A = 0 0 ...

10 years ago

Solved


Mongean Shuffle
A Mongean shuffle of an n card deck starts with putting the initial deck on the left hand side. * The top card of the deck is...

10 years ago

Solved


Nilpotent matrix
Check if matrix A is <http://mathworks.com/ nilpotent>.

10 years ago

Solved


why the translation parameters calculated by cp2tform based on point sets are not correct?
I'd like to calculate the affine transformation parameters(translation, scale, rotation) based on two point sets: base_points an...

10 years ago

Solved


Max Change in Consecutive Elements
If an array is given as input then find the index of consecutive elements that represent maximum change. Example: Input ...

10 years ago

Load more