Answered
what is problem? (about structure and number of variables)
This is not Matlab code. logical(BMA11); Note, that this command does not perform anything in Matlab. It creates a logic...

9 years ago | 0

| accepted

Answered
what is the coding for previous uint8 resulted image is passed to adapthisteq
The error message says, that the input is complex, so it has an imaginary part. As you see in the failing line, UINT8 arrays are...

9 years ago | 0

Answered
Find similar rows but not equal at the same matrix
|pdist| replies the pairwise distances between the rows. Then you can filter out the values: D = pdist(Data); Match ...

9 years ago | 0

Answered
Serial communication with hex code
Perhaps: Str = '7E2302007D3124010C25010E2601033A7E' D = sscanf(Str, '%2x'); fwrite(s, D, 'uint8') This is a bold...

9 years ago | 1

| accepted

Answered
How to load the folders in alphabetic/numeric order?
Either create the names manually: for index = 9:11 FolderName = sprintf('Day%d', index); ... Or sort the names...

9 years ago | 0

| accepted

Answered
How to find the value of X when Y is known in a straight line
A line can be defined by the formula: y = m*x + b where |m| is the slope and |b| the point where the line crops the Y-ax...

9 years ago | 0

Answered
How can I introduce a "mouse pointer" cleaner?
You can use <https://www.mathworks.com/help/matlab/ref/dragrect.html dragrect> to select the points by dragging a rectangle, or ...

9 years ago | 0

Answered
How to read many image after eachother?
See <https://www.mathworks.com/matlabcentral/answers/57446-faq-how-can-i-process-a-sequence-of-files Answers: FAQ - process sequ...

9 years ago | 1

| accepted

Answered
Replacing Rows or Columns using Indexing (or efficient too solutions) instead of “Cat ”
You code looks fine already. I assume reading the CSV file will take much more time. Guillaume's suggestion is a little bit nice...

9 years ago | 0

Answered
the minimum height of popup menu
The appearence of popup menus is controlled by the operating system. Matlab relies on the OS to allow a standard look&feel of it...

9 years ago | 0

Answered
Performance issue on different computers
It sounds strange if you import an ASCII file and do not see a difference between a local and a network drive. Actually I'd expe...

9 years ago | 0

Answered
How do I get Matlab 2016a to recognize the Microsoft Windows SDK 7.1 C compiler?
Please read the corresponing threads in this forum at first: <https://www.mathworks.com/matlabcentral/answers/?term=SDK+7.1> . T...

9 years ago | 0

| accepted

Answered
Struct contents reference from a non-struct array object. Error in picgui Error in gui_mainfcn (line 95) feval(varargin{:}); Error in picgui Error while evaluating UIControl Callback
This is a big bump of unreadable code and an error message. We have to guess which is the line 95. It is impossible to create a ...

9 years ago | 0

Answered
Help with IF/Else statement in GUI
There is not connection to the fact, that the code "runs in a GUI" - by the way: there is even nothing like "running in GUI". Co...

9 years ago | 0

| accepted

Answered
Saving a figure in full screen size?
FigH = figure('Position', get(0, 'Screensize')); F = getframe(FigH); imwrite(F.cdata, 'Foos.png', 'png')

9 years ago | 11

| accepted

Answered
how to insert a file from gui into script
# Post your code. Otherwise the readers can not reconsider, what you are trying. # Post the complete error message, because it ...

9 years ago | 0

Answered
What's the upper limit for how much data can be stored in a structure?
A cleaner version of the code: fmt = repmat('%s', 1, 360); %reads file, text string delimter datFields = fie...

9 years ago | 0

Answered
Find negative in every n rows
Data = rand(2184, 14) - 0.1; % Test data D = reshape(Data, 24, [], 14); Match = any(D(:, :, 14) < 0, 1); Res...

9 years ago | 0

Answered
Open new files in existing session
This does not solve your problem, but the work around is trivial: Do not use the Windows Explorer to start M-files, but start...

9 years ago | 0

Answered
How to call callback the code through the selection of push button
When a popup menu entry is selected, the callback of this uicontrol is called. You do not define a callback for the contents of ...

9 years ago | 1

| accepted

Answered
I think combining matrices are same column but there occurs vertcat error
In your code inserting a space can matter. Prefer to use commas to separare columns: i = 2; while i <= size(raw,1)-1 ...

9 years ago | 0

Answered
Which Unit Test tool is good for image processing code ?
The answer does not depend on the field you are working in, so it does not matter if image processing is concerned. I'd rely on ...

9 years ago | 1

Answered
Error using mex No supported compiler or SDK was found.
The first point to start at such problems is the examination of the documentation: <https://www.mathworks.com/support/compile...

9 years ago | 0

Answered
How to write/append a specific text line repetitively in MATLAB??
This is not possible. I think. I'm not sure if I understand your question correctly. This sentence is not clear to me: 3 pro...

9 years ago | 0

Answered
Hi everyone.I need help. I am trying to write a set of input statements that prompt the user for his/her favorite band, favorite song, favorite restaurant, and favorite food but i keep getting the same error message. What could be the problem?
How do you start the shown code? Is it stored in a script or function file called "question.m"? Then this file might not be in o...

9 years ago | 0

| accepted

Answered
Can I see the contents of a csv file live while matlab is still working on it
The operating system is resonpsible for writing data to the disc. The bytes delivered by |fwrite| can be cached by Matlab, the O...

9 years ago | 0

Answered
Calling multiple outputs of a function into new function
With some bold guessing: [out1, out2, ....., outn] = fun(in1, in2) but it didnt give me any output,except the first one, ...

9 years ago | 1

| accepted

Answered
Using Matlab can you please answer this?
I'm sure that this homework question matchs your current course. What is the current topic? Solving such equations manually, sym...

9 years ago | 0

Answered
Why does my GUIDE close automatically after opening?
Perhaps the OpeningFcn contains a |close| command? We cannot guess this. Buit you can examine this easily: Set a breakpoint in t...

9 years ago | 0

Load more