Question


How to turn off cell mode in Matlab editor in 2012b?
Hi everyone, I have just installed R2012b. This is used to be a simple thing to do. But now I have already spent half an hour...

12 years ago | 3 answers | 0

3

answers

Question


Read/Write audio files in Matlab
Hi everyone, I would like to read/write audio files (eg. *.wav, *.mp3) in Matlab. I know that Matlab comes with wavread.m and...

12 years ago | 2 answers | 0

2

answers

Answered
How to duplicate rand('twister', 0) in current Matlab?
This is related to my comment to Peter's answer. So would the following table works if I want to upgrade my old code to use R...

12 years ago | 0

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

12 years ago

Question


How to duplicate rand('twister', 0) in current Matlab?
Hi everyone, I am trying to change my old code to use the new RNG in current Matlab (R2011a). In my old code, I usually ha...

12 years ago | 3 answers | 1

3

answers

Solved


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

12 years ago

Question


Measure user response time on hitting a key
Hi everyone, I would like to use Matlab to measure a user's response time in front of a PC. So here is the test: Step 1: M...

12 years ago | 2 answers | 0

2

answers

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

Solved


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

12 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

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


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

12 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

12 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

12 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

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

12 years ago

Answered
Matlab Connector is out of date. The latest version is 1.2.
Just talked to a Mathworks application engineer over the phone about this problem. One of the things that came up during the ...

13 years ago | 0

Question


Matlab Connector is out of date. The latest version is 1.2.
Hi, I have just downloaded matlab connector on my PC (running R2010b on windows 7) and matlab mobile on my iphone4. I have d...

13 years ago | 1 answer | 0

1

answer

Question


Fast bit packing?
Hi everyone, I am looking for a fast way to do bit packing in Matlab (my data set is pretty big). Here is what I mean by bit ...

13 years ago | 2 answers | 0

2

answers

Submitted


searchtext
Search text in files.

17 years ago | 1 download |