Answered
How can i use pushbutton callback in opening function callback?
Those variables are local to the opening function and thus the scope is limited to opening function only. See this <http://mat...

12 years ago | 0

Answered
find something strange when using rot90. the matrix are not equal nor equal. In this case 33 appears in the answer.
A and B are matrices not scalar compare them using *isequal*. Try this if isequal(A,B) % do something elseif ~isequ...

12 years ago | 0

Answered
callback code for push_button in matlab GUI to stop fast iterations due to FOR loops in main program
function pushbutton_callback(hObject, eventdata, handles) setappdata(0 , 'Flag', 0); while your other script might be li...

12 years ago | 0

| accepted

Answered
how to count big cell only?
use *bwareaopen* to remove objects smaller than certain number of pixels. BW2 = bwareaopen(BW, thresh); [~, numObjects] = b...

12 years ago | 0

| accepted

Answered
How to fix this error?
cmap=menu('Choose color','jet','hsv','summer','cool','spring','hot','autumn',... 'winter','bone','copper','pink','lines','Gra...

12 years ago | 0

| accepted

Answered
horizantal and vertical edge detection...
Documentation says it all,use *sobel* or *prewitt* to realize horizontal edge detecting filter. read the manual thoroughly and g...

12 years ago | 0

Answered
How start writing in excel sheet from Row n 10 with xlswrite
xlswrite(filename, data, 1, 'N10') % this will write data in sheet1 starting from cell N10

12 years ago | 0

Answered
Where I am mistaking?
Read the manual properly. doc linprog You are missing some input argument while calling.

12 years ago | 0

Answered
converting boundary to mask
b=bwboundaries(BW); % BW being your binary image mask=false(size(BW)); for i = 1:length(b) for j = 1:length(b{i...

12 years ago | 0

| accepted

Answered
pn sequence generation using independent seed
s = rng; % rng seeds the random number generator seq1 = rand(1,5); rng(s); seq2=rnd(1,5);

12 years ago | 0

| accepted

Answered
How to get the size or position of the plot box within a figure window?
h =figure; axesHandles = findall(h,'type','axes'); get(axesHandles,'position')

12 years ago | 0

| accepted

Answered
i plotted two graphs just one above the other using "hold all' ,can i shade the region between these two graph and remaining lower region..?
use *fill* X = rand(1,100); Y = rand(1,100)+1; fill([1:100 , fliplr(1:100)] , [X , fliplr(Y)] , 'r')

12 years ago | 0

Answered
need advice on using RESHAPE AND IMRESIZE
imresize uses *interpolation* algorithm to scale and resize, Interpolation is an estimation method. Interpolating a 128x128 grid...

12 years ago | 1

Answered
how to create array for these values i got?
f = []; for for %your code end f = [f,min(A)] end *min(A(i,j))* doesn't make any sense as A(i...

12 years ago | 0

Answered
GUI linking and data sharing between guis
This is more or less the same <http://blogs.mathworks.com/videos/2005/10/03/guide-video-part-two/?s_tid=Blog_Videos_Category ...

12 years ago | 0

Answered
How can I insert live image into a MATLAB GUI using Image Acquisition Toolbox? i m developing a face recognition system. And i have to capture image from webcam and store it ,in a specified image size.
vidobj = videoinput('winvideo'); snapshot = getsnapshot('vidobj'); I=imresize(snapshot,[92 112])

12 years ago | 2

| accepted

Answered
how pop up a gui from an another gui on click of a button with a value?
For 1st task simply call the .m file by name inside pushbutton callback. And to accomplish the 2nd task you need to store the da...

12 years ago | 0

Answered
How to read multiple jpg images in a loop?
Here it is <http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F How can I process a sequence of files?>

12 years ago | 1

| accepted

Answered
How can i convert images into video
Use *pause* with in your loop. doc pause

12 years ago | 0

| accepted

Answered
how to find the width and height of text block
Call in regionprops and checkout for boundingbox. Stats = regionprops(BW , 'BoundingBox'); [width , height] = Stats(ii)....

12 years ago | 0

Answered
Double the size of an image
Form a grid double the size of your image,scale that grid to the dimensions of your original image and go for interpolation usin...

12 years ago | 0

Answered
Export excel file into matlab and make graph
See this <http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F How can I process a sequence of files?>

12 years ago | 0

| accepted

Answered
how to remove some regions from the image
Why not mask out region of interest using imfreehand. h = imfreehand(gca); wait(h) % waits for user to specify region of ...

12 years ago | 0

Answered
Hi..i am trying to use the function "blockproc" for histogram equalization of an image blockwise...but i am gettin an error....
fun = @(block_struct) histeq(block_struct.data) b = blockproc(a,[8,8],fun); 3rd input to blockproc must be a function hand...

12 years ago | 0

| accepted

Answered
how to redirect one form to another
Are you using guide to create form?? Simply call another gui in the callback function of submit button. See this <http://blogs.m...

12 years ago | 0

Answered
how to calculate the execution time of program?
tic yourCode timeElapsed = toc

12 years ago | 13

| accepted

Answered
What output is obtained using BoundingBox'?
You using regionprops or some function from mapping toolbox?? if regionprops documentation clearly says it's a vector.

12 years ago | 0

Answered
Aggregate functions on grouped data
[b, ~, n] = unique(yourArray(:,3) , 'first'); firstColumn = accumarray(n , yourArray(;,1) , size(b) , @(x) max(x)); secondC...

12 years ago | 2

| accepted

Load more