Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

11 years ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

11 years ago

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

11 years ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

11 years ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

11 years ago

Answered
How to tune a discrete PID when a step response is known?
Take a look at the <http://www.mathworks.co.uk/help/control/pid-controller-design.html Control System Toolbox documentation> for...

11 years ago | 0

Answered
gca behaves different in 2014b
Christian, This seems to work fine. Are you sure you definitely have an axes in your figure? gca will only open a new figure ...

11 years ago | 0

Answered
Add item to SharePoint 2010 list through MATLAB
For anybody who is interested in the solution, my question has been answered on Stack Overflow. http://stackoverflow.com/ques...

12 years ago | 3

| accepted

Solved


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

12 years ago

Solved


Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): As an addit...

12 years ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

12 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

12 years ago

Question


Add item to SharePoint 2010 list through MATLAB
Is it possible to add an item to a list in SharePoint 2010 through MATLAB? I assume there must be some .NET web services that co...

12 years ago | 1 answer | 0

1

answer

Answered
Matlab: How to profile inefficient lines of code with running count visualisation?
No it's there in 2012a but just hidden away. You will be able to use the commands in the link above.

12 years ago | 1

| accepted

Answered
Error while deleting a line in Simulink
Command line interaction like this is not really a beginner thing. Silly question, but I assume you know you can just press the ...

12 years ago | 0

Answered
Matlab: How to profile inefficient lines of code with running count visualisation?
You should lookup the MATLAB Profiler. This is easily accessible through the toolbar in 2012b onwards (run and time is one way)....

12 years ago | 0

Answered
AND operation for textfiles in MATLAB
No this will not work. Just try and imagine all the possible ways that you could define the merge option for three text files an...

12 years ago | 0

Answered
How to make a GUI Non-active But stays visible.
You could look to set the enabled property of items in your non-active GUI to off or inactive when GUI2 becomes visible.

12 years ago | 0

Answered
How can I use csvread to read the first 2 columns of a file with variable number of rows?
Using csvread it's not possible to specify what you need to do. You can either specificy the start row and column to read from a...

12 years ago | 0

| accepted

Answered
How to resample a signal by a fraction
I suggest you reciprocate your a variable and round it to the nearest integer. You then just need to make sure you get the argum...

12 years ago | 1

Answered
how to find snr ratio of audio signals in simulink? plz help me by replying as soon as possible
I suggest you first start by referring back to the definition of SNR - i.e. the power ratio between a signal and the background ...

12 years ago | 0

Solved


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

13 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

13 years ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

13 years ago

Answered
How can I connect matlab to mysql?
As Sven suggests, you should use the functions within the Database Toolbox - assuming of course that you have this toolbox. The ...

13 years ago | 0

Answered
How to read text file and put it in to a matrix format.
You should try looking up the functions textread and textscan if you want to do this programatically. Alternatively you can use ...

13 years ago | 0

Answered
Why do I get this result??
Try this k=2*A+3*B if k<3.65 fr='inf' elseif k >= 3.65 && k<= 4.35 fr='moy' elseif k>4.35 fr=...

13 years ago | 1

Answered
"For" loop output storage
John, you could define a variable before the first for loop such as counter = 1; and then use this to index cs in the inner loop...

13 years ago | 0

Answered
Multiples of numbers and plotting?
Jon, We obviously can't give you the direct answer as this is a homework problem but here are some tips that may help you sol...

13 years ago | 2

Load more