解決済み


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

10年以上 前

解決済み


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

10年以上 前

解決済み


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

10年以上 前

解決済み


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

10年以上 前

解決済み


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

10年以上 前

解決済み


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

10年以上 前

解決済み


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

10年以上 前

解決済み


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

10年以上 前

解決済み


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

10年以上 前

解決済み


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

10年以上 前

解決済み


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

10年以上 前

解決済み


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

10年以上 前

解決済み


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

10年以上 前

解決済み


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

10年以上 前

解決済み


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

10年以上 前

解決済み


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

10年以上 前

質問


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

11年以上 前 | 1 件の回答 | 0

1

回答

回答済み
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=...

11年以上 前 | 0

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

11年以上 前 | 0

回答済み
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 ...

11年以上 前 | 0

質問


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

11年以上 前 | 2 件の回答 | 0

2

回答

解決済み


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

11年以上 前

解決済み


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

11年以上 前

解決済み


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

12年弱 前

解決済み


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

12年弱 前

解決済み


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

12年弱 前

解決済み


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

12年弱 前

解決済み


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

12年弱 前

解決済み


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

12年弱 前

解決済み


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

12年弱 前

さらに読み込む