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

Image may be NSFW.
Clik here to view.

Re: creating rgb image using pixels values

Hi Shobana, How about the following: % Assuming you have three matrices R, G and B I = uint8(zeros([size(R) 3])); I(:,:,1) = R; I(:,:,2) = G; I(:,:,3) = B; imwrite(I,'Combined.png'); Best.

View Article


Image may be NSFW.
Clik here to view.

Re: How to draw markers on a 2-D colormap plot?

Hi Shahriar, You should use plot3. Let us say condition is DATA<0.5. Then, Xcond = X(DATA<0.5); Ycond = Y(DATA<0.5); Zcond = DATA<0.5; plot3(Xcond,Ycond,Zcond,'*') Best.

View Article


Image may be NSFW.
Clik here to view.

Re: Warning: Input arguments must be scalar.

Hi Christos, It is right this command: c = zeros(1:nx,1); You should have used: c = zeros(nx,1); Best.

View Article

Image may be NSFW.
Clik here to view.

Re: R2012b ToolStrip

On Wed, 12 Dec 2012 14:25:18 -0500, Leslie McBrayer wrote:> "Iram Weinstein" <weinsteini@saic.nospamcom> wrote in message> news:kaacpk$eff$1@newscl01ah.mathworks.com...>> I am...

View Article

Image may be NSFW.
Clik here to view.

Re: Event Object for Datacursormode

Hello Matt, Thanks for your replies to both my posts. I modified my datatextboxfunction as follows to store my desired variables in figure handles: function [txt,pos] =...

View Article


Image may be NSFW.
Clik here to view.

Re: Need help

On Fri, 28 Dec 2012 06:27:06 +0000, Krishna Chaitanya Nosina wrote:> Hi,> Please help me in reading 3x3 matrix at a time from 256x256 image> coefficients and the process will be repeated for...

View Article

Image may be NSFW.
Clik here to view.

Re: Event Object for Datacursormode

Hi Matt, I am getting an empty matrix as the output of my ancestor function, a simple code like this for example: fig = figure(1); x=0:0.01:10, y = sin(x); plot(x,y); dcmObj=datacursormode(fig);...

View Article

Image may be NSFW.
Clik here to view.

help for while loop

I have a very simple while loop, which was supposed to break right away until n = 10. But this loop never break because n = 10.1 in the end. How could this happened? n = 0; flag = 0; while (flag == 0)...

View Article


Image may be NSFW.
Clik here to view.

help for while loop

I have a very simple while loop, which was supposed to break right away until n = 10. But this loop never break because n = 10.1 in the end. How could this happened? n = 0; flag = 0; while (flag == 0)...

View Article


Image may be NSFW.
Clik here to view.

Re: Pass structure data using mex

Thank you soooooo much Bruno!!! It solves the problem!!! "Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <kbmb5e$m57$1@newscl01ah.mathworks.com>...> You have to make deep...

View Article

Image may be NSFW.
Clik here to view.

Re: help for while loop

On 12/30/2012 3:17 PM, Xing Li wrote:> I have a very simple while loop, which was supposed to break right away> until n = 10. But this loop never break because n = 10.1 in the end. How> could...

View Article

Image may be NSFW.
Clik here to view.

Re: help for while loop

"Xing Li" <xli71@syr.edu> wrote in message <kbqar0$7co$1@newscl01ah.mathworks.com>...> I have a very simple while loop, which was supposed to break right away until n = 10. But this loop...

View Article

Image may be NSFW.
Clik here to view.

Help using datasetfun

Hello, I have a large dataset (411,000 entries with 34 variables). My question involves using datasetfun to convert string variables into numbers. A portion of my dataset looks like this:...

View Article


Image may be NSFW.
Clik here to view.

Re: How to draw markers on a 2-D colormap plot?

You are using surf, I would not consider that to be a 2D plot. Please give the following a try and you will probably see that it works.' Best. Xcond = X(DATA<0.5); Ycond = Y(DATA<0.5); Zcond =...

View Article

Image may be NSFW.
Clik here to view.

Re: help for while loop

On 12/30/2012 3:14 PM, Xing Li wrote:> I have a very simple while loop, which was supposed to break right away until n = 10.>But this loop never break because n = 10.1 in the end. How could this...

View Article


Image may be NSFW.
Clik here to view.

Re: help for while loop

On 12/30/2012 3:17 PM, Xing Li wrote:> I have a very simple while loop, which was supposed to break right away until n = 10.>But this loop never break because n = 10.1 in the end. How could this...

View Article

Image may be NSFW.
Clik here to view.

synthetic aperture radar (SAR)

hello dear all I'm working on synthetic aperture radar (SAR) implementation, I want to design spotlighting filter, Does anyone know how to implement this filter in range-doppler domain or another...

View Article


Image may be NSFW.
Clik here to view.

Re: Powers are slow, multiplies fast; optimized badly?

An update to this thread: I found that even intpow() above is not as well optimized as is a direct command-line call to repeated multiplies, even when grouped identically to those done in intpow. In...

View Article

Image may be NSFW.
Clik here to view.

Re: interpolate

"Steven_Lord" <slord@mathworks.com> wrote in message <kbr5g3$26g$1@newscl01ah.mathworks.com>...> > > "dpb" <none@non.net> wrote in message...

View Article

Image may be NSFW.
Clik here to view.

Re: How do I calculate the phase shift between two sinusoidal

Giuseppe <caesar_539@hotmail.it> wrote in message <711823938.11516.1296251189039.JavaMail.root@gallium.mathforum.org>...> I tried the code acos(dot (a, b). / (dot (a, A) * dot(b,b))) but...

View Article
Browsing all 19628 articles
Browse latest View live