回答済み
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年弱 前 | 0

回答済み
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年弱 前 | 0

回答済み
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年弱 前 | 0

| 採用済み

回答済み
error message coming like string argument is an unknown option?how to plot a 3 D graph?
use *plot3* instead of *plot*

12年弱 前 | 0

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

12年弱 前 | 0

| 採用済み

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

12年弱 前 | 0

| 採用済み

回答済み
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年弱 前 | 0

回答済み
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年弱 前 | 0

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

12年弱 前 | 0

回答済み
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年弱 前 | 0

| 採用済み

回答済み
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年弱 前 | 0

| 採用済み

回答済み
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年弱 前 | 0

| 採用済み

回答済み
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年弱 前 | 0

回答済み
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年弱 前 | 1

回答済み
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年弱 前 | 0

回答済み
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年弱 前 | 0

回答済み
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年弱 前 | 2

| 採用済み

回答済み
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年弱 前 | 0

回答済み
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年弱 前 | 1

| 採用済み

回答済み
How can i convert images into video
Use *pause* with in your loop. doc pause

12年弱 前 | 0

| 採用済み

回答済み
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年弱 前 | 0

回答済み
How to find correaltion coeffient for two image regions?
doc corr2

12年弱 前 | 0

回答済み
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年弱 前 | 0

回答済み
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年弱 前 | 0

| 採用済み

回答済み
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年弱 前 | 0

回答済み
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年弱 前 | 0

| 採用済み

回答済み
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年弱 前 | 0

回答済み
how to calculate the execution time of program?
tic yourCode timeElapsed = toc

12年弱 前 | 13

| 採用済み

回答済み
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年弱 前 | 0

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

12年弱 前 | 2

| 採用済み

さらに読み込む