Simon Allosserie
Followers: 0 Following: 0
Engineer
Feeds
提问
How to steer uiprogressdlg from external function
Hello I am building an App wit appdesigner in which a rather complex function is called. The function is at the moment not with...
2 years 前 | 1 个回答 | 0
1
个回答提问
How to convert rows to logical
I am filtering a set of values in a column vector in multiple steps. In the end, I get the row numbers of the values that should...
2 years 前 | 2 个回答 | 0
2
个回答提问
How to apply MinSeparation on both islocalmin and islocalmax
I am using findlocalmin and findlocalmax to find the local extrema of a curve (actually, it's a column of a greyscale image). Th...
2 years 前 | 0 个回答 | 0
0
个回答提问
App Designer shuts down when processing big files
I have an app that processes .tif files in different resolutions. It compares two images printed on two different printers to ch...
2 years 前 | 0 个回答 | 0
0
个回答How to change x-axis ticks labels in stackedplot?
Use xtick and xticklabels to change to the A, S, T, ... labels https://nl.mathworks.com/help/matlab/ref/xticks.html I don't...
2 years 前 | 1
Put values from an array in a while loop into a table
To put info in tables, you best put them in columns. So you could define coefficient vectors for each coefficient, and through y...
2 years 前 | 0
combine vectors in different length in to one matrix
You can combine vectors of different lengths in cell arrays, instead of adding zeros to your vectors. It will be easier to proce...
2 years 前 | 1
| 已接受
提问
How to fill empty matrix elements based on surrounding values
I have a matrix with a lot of empty values and some numbers. A column could look like this (simplified for the sake of this ques...
2 years 前 | 2 个回答 | 0
2
个回答提问
How to use full axes area when zooming image in App GUI
I plot an image using imshow in an axis in my APP GUI. Then there can be zoomed in to see details. Now when you zoom in, only t...
2 years 前 | 1 个回答 | 1
1
个回答提问
How to keep roi points visible when replotting
I have a GUI where I plot an image using imshow. There are 2 color versions of this image. By clicking on the image, the user c...
2 years 前 | 1 个回答 | 0
1
个回答提问
What is the difference between
When packaging an app in App Designer, I always get three output folders: The appplication found in for_redistribution must b...
3 years 前 | 1 个回答 | 0
1
个回答提问
Categorical Bar Plot keeps old categories
I make a bar plot with categorical x-values as follows: define legend names (that will be the labels for each bar in the bar gr...
3 years 前 | 1 个回答 | 0
1
个回答App Designer Edit Field precision
When you select the field, you can edit the ValueDisplayFormat code. Now it is apparently in some kind of scientific notation mo...
3 years 前 | 1
提问
How to vectorize nested for loops
I am making a matrix B that represents a halve sphere in grayscale values. This means grayscale ~ height (so 0 = black = bottom ...
3 years 前 | 1 个回答 | 0
1
个回答How to find percentage of white pixels in a binary image?
Hi You could simply use nnz(A), which gives the number of non-zero elements in the matrix A, and numel(A), which gives the to...
3 years 前 | 0
| 已接受
Converting coordinates (x,y) and radius (r) from pixels to mm using a calibrated camera intrinsic and extrinsic parameters
You can obtain the dpi of your image from the imfinfo structure dpi = imfinfo(filepath).XResolution %analogous for YResolution ...
3 years 前 | 0
How to create a line from a curve in a log scale x-axis
If your question is how to plot a log scale, please use set(gca, 'XScale', 'log') %make X axis logarithmic
3 years 前 | 0
I want to store text data on edit field when I press button on app designer Matlab
For your first question, create a Callback function for that button. I assume you have somewhere an input field where the desire...
3 years 前 | 1
| 已接受
Prime number sum from cell array
There are a few issues. I wouldn't change characters to NaN but rather to an empty cell. After your cellfun and filter1, myArr...
3 years 前 | 1
| 已接受
how to take the derivative of the function saved from curve fitting tool
If you have the values of your fitted curve saved, you can calculate the first derivative by using the gradient function: https:...
3 years 前 | 0
how to sort object properties at workspace window?
Just type app.property, e.g. app.Button3 to see that value.
3 years 前 | 0
How I can perform a canny edge detection on this image ? It can be used for hand gesture recognition in real time or is just for images
Please refer to https://nl.mathworks.com/help/images/edge-detection.html for loading an image & running an edge detection algori...
3 years 前 | 0
| 已接受
ERROR SELECTING MULTIPLE FILES
The moment you select multiple files, file becomes a cell array. Just run this in your command window and select a few files to...
3 years 前 | 0
| 已接受
Creating a colormap for an image
You will probably want to use something like a jet colormap. See this page for more details: https://nl.mathworks.com/help/matla...
3 years 前 | 0
| 已接受
How to make the last iteration of a for loop run differently?
You can do something like this for i = 1:number % do the things that have to happen for each iteration if i < thelast...
3 years 前 | 1
| 已接受
Best practise for quickly changing parameters of a function?
For each number you want to change regularly, make it also an input parameter to your function. Then, you can write a little sc...
3 years 前 | 0
How can I plot this small set as a beautiful histogram?
You are not making a histogram if you want to have the height of the bars equal to the value. You are making a bar graph. This s...
3 years 前 | 0
提问
Color transformation from LAB to CMYK
I have an .icc profile that containts the data to transform from LAB to CMYK. profile.Header struct with fields: ...
3 years 前 | 0 个回答 | 0
0
个回答提问
uigetfile doesn't show in standalone app
I have designed an app in AppDesigner that publishes a script. In that script, uigetfile is used to load the necessary data. Wh...
4 years 前 | 1 个回答 | 1
1
个回答提问
For loop: access values in between steps
Hi I have a for-loop where first only certain rows of a matrix are dealt with: for i = 1:3:100 %3 is an example step size, t...
4 years 前 | 1 个回答 | 0