Answered
Why standard Waveform from audio out gets distorted when i reduce the amplitude?
Shyam, The reason for this distortion is that some of the signal values are being clipped. When you specify [a, b], it is ass...

9 years ago | 0

| accepted

Answered
Compare 2 audio files - with a twist
You are attempting to check whether two audio recordings are the same without allowing access to the audio data for any kind of ...

9 years ago | 0

Answered
How to save a video created by 'VideoWriter' to specific file other than current file folder
Provide the full path to the location you want to save the file to when creating VideoWriter. On Windows for example: vwObj...

9 years ago | 0

| accepted

Answered
i want to find and hear the frequency responce of a .wav file using following equation y(n)=y(n-1)-0.9*y(n-2)+x(n)+x(n-1) but still its giving error and sound after applying freq responce is not audible.my code is following
Hi Lione, It would be good if you can post the error that you are getting. From a quick glance, the second call to audioplaye...

9 years ago | 0

| accepted

Answered
How can I read Intra coded frames from a video?
Zealous, The notion I, P and B frames only applies to an encoded stream. It determines how the frames must be decoded and the...

9 years ago | 4

| accepted

Answered
how can i compress the video using Run Length Encoding ..?
Pavithra, First of all I am curious to ask why do you want to do this. If you want to save your video data in a compressed fo...

9 years ago | 0

| accepted

Answered
Problems with Generating Continous(Un Broken) Sound on Matlab
Shyam, I am not sure what you mean by continuous unbroken sound. The audioplayer and sound functions have a limitation that y...

9 years ago | 0

Answered
VideoReader doesn't seem to read videofiles (Ubuntu)
Tobias, I am glad that installing the missing MPEG4 codecs resolved this issue. Dinesh

9 years ago | 0

| accepted

Answered
Is it possible to use parallel computing with VideoReader?
Nathan, I am getting the following error: |Cannot call READ method after using READFRAME or HASFRAME methods or setting the ...

9 years ago | 0

Answered
How can i import audio from a zip file into matlab to generate the autocorrelation, pitch, and linear prediction
Shikarat, I assume that when you mean "audio data in a ZIP file" you are saying that you have a ZIP file that contains audio ...

9 years ago | 0

Answered
Playing/processing video stream
Hi Olle, It is currently not possible to read a H.264 stream into MATLAB. However, it is possible to read MMS streams using t...

9 years ago | 1

Solved


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

9 years ago

Solved


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

10 years ago

Solved


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

10 years ago

Solved


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

10 years ago

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

10 years ago

Solved


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

10 years ago

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

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

10 years ago

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

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

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

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

10 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

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

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

10 years ago

Answered
Can't get video's number of frames before processing?
Hi Lirian, The vision.VideoFileReader system object allows reading only one frame at a time and does not allow random access....

10 years ago | 0

| accepted

Answered
how to write a MP4 video using vision toolbox ?
Lirian, I see the confusion. It is common to refer to image dimensions in terms of Width x Height. So a full HD video is said...

10 years ago | 1

| accepted

Answered
how to write a MP4 video using vision toolbox ?
Liran, I tried the following code to write one frame of HD video on Windows 7 using R2014a: if true data = single(ran...

10 years ago | 1

Load more