Solved


Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative

5 years ago

Solved


Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

5 years ago

Solved


There are 10 types of people in the world
Those who know binary, and those who don't. The number 2015 is a palindrome in binary (11111011111 to be exact) Given a year...

5 years ago

Solved


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

5 years ago

Question


Plotting a Differential Equation with respect to time.
Greetings. I have a non-linear ODE that I want to solve given the parameters. I am familiar with solving ODEs using 'dsolve' an...

6 years ago | 1 answer | 0

1

answer

Question


Using a for loop to form a matrix (intermediate transformation matrix).
Greetings. Suppose that I have a dummy vector dummy = [1764 1624 735 175 21]; I want to create the matrix W to be...

6 years ago | 1 answer | 0

1

answer

Question


How to identify repeated eigenvalues of a matrix?
Take the matrix A as an example: A = [1 1 0 0;0 1 1 0;0 0 1 0;0 0 0 3] The eigenvalues of A are: 1,1,1,3. How can I id...

6 years ago | 2 answers | 0

2

answers

Question


Command 'place' for MIMO Control Systems
Greetings, For the MATLAB command: K = place(A,B,P); Does anyone how it works for a MIMO case? Like for a SI...

6 years ago | 1 answer | 0

1

answer

Question


Is there a way to find the monic least common denominator of a transfer matrix?
Greetings. Please consider the case in the image below: <</matlabcentral/answers/uploaded_files/106468/Question.png>> Is ...

6 years ago | 0 answers | 0

0

answers

Question


Is it possible to sort an array by making the repeated elements in the last?
Greetings. Consider a vector A = [-2 -2 -1 3 3], is it possible to sort this vector (a generalized method) to [-1 -2 -2 -3 ...

7 years ago | 3 answers | 0

3

answers

Question


Can I reshape a function handle? Or change the numeric format of a function handle?
Greetings. I have created a function to solve the time-invariant state equations. The function returns three outputs which a...

7 years ago | 2 answers | 0

2

answers

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

7 years ago

Solved


The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

7 years ago

Question


MATLAB GUI, how can I prevent a push button from re-initializing my variables?
I am creating a MATLAB GUI and one of the push buttons does a certain set of commands I previously defined. The commands begin w...

7 years ago | 1 answer | 0

1

answer

Question


MATLAB GUI: Is it possible to change the appearance/properties of your figure if a certain action is done?
For example, I have a GUI that requires the user to input data into an edit text box. The data is the populations of each floor ...

7 years ago | 2 answers | 0

2

answers

Question


Increment a variable every time a push button is pressed:
Greetings. If I want to create a simple GUI which contains only one push button, and each time I press this push button I wan...

7 years ago | 0 answers | 0

0

answers

Question


Increment a variable every time a push button is pressed:
Greetings. If I want to create a simple GUI which contains only one push button, and each time I press this push button I wan...

7 years ago | 2 answers | 0

2

answers

Question


Reformulate a matrix equation
Greetings everyone. I have a question: I have 3 matrices which contain numeral values, all of them are of the same order. The ...

7 years ago | 1 answer | 0

1

answer

Question


Sorting an n x n matrix in the Jordan form.
Assume I have a matrix J (n x n dimension), the matrix is originally obtained from MATLAB using the 'jordan' function which retu...

7 years ago | 1 answer | 0

1

answer

Question


Can I associate one vector with another one?
I used the MATLAB function [r,p,k] = residue(num,den). For example assume: num = [1 4]; den = [1 6 11 6]; [r,p,k] = re...

7 years ago | 1 answer | 0

1

answer