# Simon Allosserie

Last seen: plus d'un an il y a Actif depuis 2020

Followers: 0   Following: 0

Engineer

All

#### Feeds

Afficher par

Question

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...

plus d'un an il y a | 1 réponse | 0

### 1

réponse

Question

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...

plus d'un an il y a | 2 réponses | 0

### 2

réponses

Question

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...

plus d'un an il y a | 1 réponse | 0

### 0

réponse

Question

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...

presque 2 ans il y a | 1 réponse | 0

### 0

réponse

Réponse apportée
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...

environ 2 ans il y a | 1

Réponse apportée
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...

environ 2 ans il y a | 0

Réponse apportée
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...

environ 2 ans il y a | 1

| A accepté

Question

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...

environ 2 ans il y a | 2 réponses | 0

### 2

réponses

Question

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...

environ 2 ans il y a | 1 réponse | 1

### 0

réponse

Question

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...

environ 2 ans il y a | 1 réponse | 0

### 1

réponse

Question

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...

plus de 2 ans il y a | 1 réponse | 0

### 1

réponse

Question

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...

plus de 2 ans il y a | 1 réponse | 0

### 1

réponse

Réponse apportée
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...

plus de 2 ans il y a | 1

Question

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 ...

plus de 2 ans il y a | 1 réponse | 0

### 1

réponse

Réponse apportée
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...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
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 ...

environ 3 ans il y a | 0

Réponse apportée
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

environ 3 ans il y a | 0

Réponse apportée
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...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
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:...

environ 3 ans il y a | 0

Réponse apportée
how to sort object properties at workspace window?
Just type app.property, e.g. app.Button3 to see that value.

environ 3 ans il y a | 0

Réponse apportée
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

environ 3 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 3 ans il y a | 0

Réponse apportée
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...

environ 3 ans il y a | 0

Question

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: ...

environ 3 ans il y a | 1 réponse | 0

### 0

réponse

Question

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...

plus de 3 ans il y a | 1 réponse | 1

### 1

réponse

Question

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...

plus de 3 ans il y a | 1 réponse | 0

réponse