Answered

i have created an executable file using deploytool but this tool doesn't support some functions, it's showing error using==> imaqdevice.preview. preview(OBJ) is not permitted in deployed mode. please help me to get preview for my video input.

Mahesh, I do not believe that imaqtool is deployable. You probably would have to write your own. You can search on MATLAB fil...

i have created an executable file using deploytool but this tool doesn't support some functions, it's showing error using==> imaqdevice.preview. preview(OBJ) is not permitted in deployed mode. please help me to get preview for my video input.

Mahesh, I do not believe that imaqtool is deployable. You probably would have to write your own. You can search on MATLAB fil...

bijna 9 jaar ago | 0

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

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

bijna 9 jaar 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 ...

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

bijna 9 jaar 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...

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

bijna 9 jaar 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...

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

ongeveer 9 jaar 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...

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

ongeveer 9 jaar 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...

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

ongeveer 9 jaar 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...

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

ongeveer 9 jaar 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

VideoReader doesn't seem to read videofiles (Ubuntu)

Tobias, I am glad that installing the missing MPEG4 codecs resolved this issue. Dinesh

ongeveer 9 jaar 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 ...

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

ongeveer 9 jaar 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 ...

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

ongeveer 9 jaar 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...

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

ongeveer 9 jaar 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...

ongeveer 9 jaar 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...

meer dan 9 jaar ago

Solved

Check if sorted

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

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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....

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

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

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

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

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

ongeveer 10 jaar ago | 1