Community Profile

photo

Simon Allosserie


Last seen: 19 days ago Active since 2020

Engineer

Statistics

All
  • Thankful Level 3
  • Thankful Level 2
  • Treasure Hunt Participant
  • Introduction to MATLAB Master
  • Knowledgeable Level 2
  • Community Group Solver
  • Solver
  • First Answer

View badges

Content Feed

View by

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

1 month ago | 1

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

1 month ago | 0

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

1 month ago | 1

| accepted

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

1 month ago | 2 answers | 0

2

answers

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

2 months ago | 0 answers | 1

0

answers

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

3 months ago | 1 answer | 0

1

answer

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

6 months ago | 1 answer | 0

1

answer

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

6 months ago | 1 answer | 0

1

answer

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

8 months ago | 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 ...

8 months ago | 1 answer | 0

1

answer

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

11 months ago | 0

| accepted

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

1 year ago | 0

Answered
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

1 year ago | 0

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

1 year ago | 1

| accepted

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

1 year ago | 1

| accepted

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

| accepted

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

1 year ago | 0

| accepted

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

1 year ago | 0

| accepted

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

1 year ago | 1

| accepted

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

1 year ago | 0

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

1 year ago | 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: ...

1 year ago | 0 answers | 0

0

answers

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

1 year ago | 0 answers | 0

0

answers

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

1 year ago | 1 answer | 0

1

answer

Question


How to eliminate standalone 1 or 0 in binary matrix
Hello I have large binary matrices (order 30000 x 5000 values) in which I have to eliminate stand-alone 1's or 0's. E.g. when ...

1 year ago | 2 answers | 1

2

answers

Question


App panel keeps shifting content
Hello I have created an app using the App building feature of Matlab. When I run the app (both in the app maker as after packag...

1 year ago | 1 answer | 0

1

answer

Question


How to get the photoshop plugin working
Hello all I am using the instructions on this page (https://helpx.adobe.com/photoshop/using/photoshop-matlab.html) to get a m...

1 year ago | 1 answer | 0

1

answer