photo

Nick


Actif depuis 2018

Followers: 0   Following: 0

Statistiques

  • Knowledgeable Level 3
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
How can i update the color of my initial band of my resistor?
Its hard to tell how you implemented it based on only those screenshots. But the idea is relatively simpel: You add a callback ...

presque 6 ans il y a | 0

Réponse apportée
How can I change a pixel value of a CT image series to display HU.
Your question is not really clear to what your intent is. If you just want to subtract 1024 of each pixel it would be: HUImage ...

environ 6 ans il y a | 0

Réponse apportée
How to obtain the x and y coordinate of images detected using cross correlation?
normxcorr2 returns the x/y coordinates from the bottom right corner of your template so if you would want to make an array of yo...

environ 6 ans il y a | 0

Réponse apportée
how to adjust box size of blob analysis
The shape of the bounding box will always give the smallest rectangular area in which the blob is contained, but you could chang...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Ho to make a popup box enable/disable visibility of textbox?
You need to add a callback that checks for the value of your dropdown menu and edits the enable value of your edit textbox. As w...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
How to delete line in GUI axes with multiple lines?
I am assuming this is inside a function, once the function is completed all variables that are not part of the output (or global...

environ 6 ans il y a | 1

Réponse apportée
How can I apply a function to each file in each folder of my directory?
You pretty much already have everything you need to get the filename in your code here, An additional problem you will run into ...

environ 6 ans il y a | 0

Réponse apportée
How to search for the same value found in one matrix in another matrix
Oke if i understand it correctly you basically have 1 matrix, find the minimum and its location. In the second matrix you want t...

environ 6 ans il y a | 0

Réponse apportée
Print in script outputs figures before all lines above it done, and other issues
A typical problem in GUI's with images or plots in an axes not updating can often be solved by adding a drawnow after the moment...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Using ismember to get the corresponding elements
Like Guillaume already mentioned you did not perform any indexing inside your loop and are just repeating the entire operation e...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
Image processing toolbox problems
You can check the license while inside matlab by typing this in the command windows license checkout Image_Toolbox If it retur...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Read text file read a text file and create an matrix of data
For this answer i am assuming your format does not change and you just have a file that is structured by just that line repeated...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
How to return a default widget structure if not enough input arguments are passed?
This is easily solved using nargin: https://nl.mathworks.com/help/matlab/ref/nargin.html. A small example function res =...

environ 6 ans il y a | 1

Réponse apportée
How can I match a string in a cell array and then pull out data from the row with the match?
For now i am assuming the ID is always in the first column. You could have the logical matrix repeat itself and then use that as...

environ 6 ans il y a | 0

Réponse apportée
Unable to perform assignment because the size of the left side is 1-by-7 and the size of the right side is 1-by-5.
The error message is pretty much the answer, you are trying to assign 5 elements into 7 elements. % Has 7 elements | Has 5...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
I have the corner coordinates for a rectangle in 3d space how do i find the coordinates for the center of the rectangle?
The center of a 3D rectangle is simply the mean of it's corners so a simple solution would be: % each row is a coordinate, ...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Cropped Image vs Original Image
If the cropped image was not resized this can be solved by using a template matching approach with normxcorr2. % convert th...

environ 6 ans il y a | 0

Réponse apportée
How to count the total number of occurrences of each digit avoiding the first elements of each cell?
You could do the following if you don't mind using some for loops % example data C = {[1; 4; 7]; [2; 5; 8; 9]; [3; 4]}; ...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
How do I save for loop data from series of images? I am creating two polygons along the borders in a set of images. i want to save the polygon data for every loop. Currently it is overwriting and only saving the last loops data.
The easiest way to store something in MATLAB is to use arrays and index them using your loop index or a separate counter if your...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Trouble calling files using dir command
The dir() function expects a character array as input and a struct containing information of the files in that directory (or an ...

environ 6 ans il y a | 0