Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Browsing all 19628 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Re: sqrt of 3 dimensional array

On 5/10/2013 7:44 PM, Mohammad Manirul wrote:> Hi,> I need ur help. I want to get square root of 3 dimensional image. My input dimension is given below:>> input= 768X1024X3 uint8.>>...

View Article


Image may be NSFW.
Clik here to view.

Re: handles 'non-structure' error when using GUI

> guidata(hObject, handles); Hi Brenton If you use GUIDE, I don't know if you can mess up with guidata(). Although it's one of the three methods to pass / receive data from GUI objects, GUIDE uses...

View Article


Image may be NSFW.
Clik here to view.

soundcard data continuous acquisition code.

Hello below code is soundcard data continuous acquisition code. it works with only 1 channel(mono) but i need 2 channels (stereo) . i added channel like addchannel(ai,2) but it just shows me recorded...

View Article

Image may be NSFW.
Clik here to view.

Re: handles 'non-structure' error when using GUI

On 5/10/2013 9:45 PM, Céldor wrote:>> guidata(hObject, handles);>> Hi Brenton>> If you use GUIDE, I don't know if you can mess up with guidata(). You, ofcourse you can use guidata()...

View Article

Image may be NSFW.
Clik here to view.

Re: MATLABs FFT and fftshifting the input

Thanks a lot Greg~ Very helpful. So is it guaranteed that ifft(ifftshift(spectrum)) always == ifftshift(ifft(spectrum))? Let me know. Thank you~ Greg Heath <heath@alumni.brown.edu> wrote in...

View Article


Image may be NSFW.
Clik here to view.

Re: get struct field including empty values

"John" wrote in message <kmle3f$p5r$1@newscl01ah.mathworks.com>...> > A solution would be to check for empty values of all the fields specified in the function findTrial, since once such a...

View Article

Image may be NSFW.
Clik here to view.

Re: get struct field including empty values

> >> c = cellfun('isempty',{alldata.correct})> Equivalent statement is:  arrayfun(@(s) isempty(s.correct),alldata) Not sure which one is faster. Probably the first one. Bruno

View Article

Image may be NSFW.
Clik here to view.

Genetic Algorithm and Efficient Portfolio

I’m watching the video here: https://www.mathworks.com/company/events/webinars/webinarconf.html?id=30357&language=en&confirmation_page&wfsid=4551426 Very cool stuff!! When you install...

View Article


Image may be NSFW.
Clik here to view.

Re: Substraction between two matix with different dimension

"Jamal" wrote in message <kml8bn$c49$1@newscl01ah.mathworks.com>...> Dear all> > I have 2 matix which has dimension;> 1. (911 x 38)> 2. (911 x 2)> > Both matrix has constant...

View Article


Image may be NSFW.
Clik here to view.

Re: Large Array Issues

"Kevin" wrote in message <kmjt5v$t6u$1@newscl01ah.mathworks.com>...> Hi there,> > I'm working with an arbitrary waveform generator with 2 GSa of memory. Each sample is 14 bit but is...

View Article

Image may be NSFW.
Clik here to view.

pie chart labelling problem

Hi guys, I used matlab to draw a pie chart but labels mix with each other. How can separate them or make the label perpendicular to each slice. thank

View Article

Image may be NSFW.
Clik here to view.

Re: Generate random numbers according to custom distribution

ImageAnalyst <imageanalyst@mailinator.com> wrote in message <71db26a7-0921-4dab-b943-fd7d17fe7829@v41g2000yqv.googlegroups.com>...> If people don't have the randsample() function (like I...

View Article

Image may be NSFW.
Clik here to view.

Re: MATLAB function returning only 'ans'

2013.05.06 05:36, Steven_Lord rašė:> Technically, yes. You could do everything with script files. However,> that increases the chances that changes to variables used in one step in> your...

View Article


Image may be NSFW.
Clik here to view.

EditText direction, multiline problem when convert a string into binary then...

Hi, I want to convert a string into binary, then convert that binary into string. Here is my code: % --- push button Convert Text into Binary. function pb_C2B_Callback(hObject, eventdata, handles)...

View Article

Image may be NSFW.
Clik here to view.

Re: MATLAB function returning only 'ans'

Thanks for the replies all. As you can probably tell I was more or less a complete MATLAB novice. I have now solved what I wanted to do and have been able to get everything 'talking' to everything else...

View Article


Image may be NSFW.
Clik here to view.

Re: handles 'non-structure' error when using GUI

"Nasser M. Abbasi" wrote in message <kmkek8$c0u$1@speranza.aioe.org>...> On 5/10/2013 9:45 PM, Céldor wrote:> >> guidata(hObject, handles);> >> > Hi Brenton> >>...

View Article

Image may be NSFW.
Clik here to view.

Re: matlab help

On Sat, 11 May 2013 05:30:44 -0700, xp_64 babbled incessantly about:> can you please help me in this Q> > > Verification of the central limit theorem Use Matlab to verify the> central...

View Article


Image may be NSFW.
Clik here to view.

support vector machine

i have some brain mri to analyse using support vector machine algorithme if someone have a code for SVM please help me. thanks !

View Article

Image may be NSFW.
Clik here to view.

Re: Genetic Algorithm and Efficient Portfolio

As per the MLEvalString command, the results are generated by the MATLAB command [portStd, portRet, portWts, portIndx] = ComputeBestPortfolio(expRet,expCov,portSize,targetRet) i.e. within the function...

View Article

Image may be NSFW.
Clik here to view.

Re: level 2 m-file s function for frame based signal

I haven't run the code, but your are using the inputs in the mdlOutput function without defining the them as having Directfeedthrough. I suspect you need to define block.InputPort(1).DirectFeedthrough...

View Article
Browsing all 19628 articles
Browse latest View live