Community Profile

photo

Jason


Last seen: Today Active since 2011

Statistics

  • Knowledgeable Level 1
  • 3 Month Streak
  • Thankful Level 5
  • First Answer

View badges

Content Feed

View by

Question


Remove all rows of an array based on a value in a column, and also remove all rows that have the same values as this row in other columns
Hi, I have the centroids (x,y) of e.g 3 objects as shown in the pic: I also have an array of the centroid locations (x,y) o...

2 días ago | 1 answer | 0

1

answer

Question


Remove centroid locations of objects that are too close
Hi, I have a list of centroid locations of spots in an image (xf, yf). The spots are randomly distributed. I want to remove the...

3 días ago | 2 answers | 0

2

answers

Answered
Content of uiFigure lost when using savefig()
Hi Daniel. I dont have a solution but I have run into a similar issue where I have a uigridlayout on a uifigure and it doesn't o...

20 días ago | 1

| accepted

Question


Sending Text to Hex in serial Port
Hello, I have managed to send hex commands to a pump using the serial port (that requires the commands to be in hex) msg=[0xFF...

4 meses ago | 1 answer | 0

1

answer

Question


Try and Catch for multiple conditions
Hello. If I have say 10 conditions and each one may fail, rather than have a try and catch round each condition, is there a bett...

4 meses ago | 2 answers | 0

2

answers

Question


Linear fit over multiple Rows without using Loops (or polyfit)?
Hello, I have a matrix of data I=[1.8,3,3.6,4.2,4.7,5.3,5.5;3.3,4.2,4.8,5.3,5.8,6.3,6.6;4.5,5.6,6.3,6.8,7.3,7.9,8.2;6.1,6.9,7...

5 meses ago | 1 answer | 0

1

answer

Answered
Passing Arguments to a UIMenu selected Function
I think I have a solution, I can pass which ever axes (or number of axes) to myax as follows app.myax(1)=ax1; app.myax(2)=ax...

6 meses ago | 0

| accepted

Question


Passing Arguments to a UIMenu selected Function
Hello, I am creating a uimenu option on a figure that contains plots so I can scale the ylimits as I wish (i.e. force min ylim t...

6 meses ago | 3 answers | 0

3

answers

Question


Assigning NaN to variables, inserting into a cellarray and then plotting Error
Hello, I have a load of images of a spot that I loop through and find certain characteristics such as the centroid of the spot. ...

7 meses ago | 1 answer | 0

1

answer

Question


Looping through 4 Images that have fixed names
Hello. I have 4 images in memory that I want to loop through and perform some analysis on. I can't find a way to do this. The i...

10 meses ago | 3 answers | 0

3

answers

Question


Sending four byte commands To serial port
Whilst I am familiar using the Serialport objects in Matlab with text, Im not sure to how to use the protocol "four byte command...

10 meses ago | 1 answer | 0

1

answer

Question


Create a top hat function
Hello, Im trying to create a top hat function (that is 0 everywhere except between -halfpix & halfpix). the fucll width of the t...

alrededor de 1 año ago | 1 answer | 0

1

answer

Answered
Grid not showing on UIAxes
Seems you need to do this. set(gca, 'XTickMode', 'auto', 'XTickLabelMode', 'auto')

más de 1 año ago | 0

| accepted

Question


Grid not showing on UIAxes
Hello. I am plotting some data on a Canvas in appdesigner, and the grid isn't showing. (The plot is fine) ax=app...

más de 1 año ago | 1 answer | 0

1

answer

Question


Showing a legend for a "group" of plots
Hello, I am plotting 3 vectors (x1,x2,x3 - each has about 5 values) as lines plot([x1 x1],[0 1],'r.-');hold on ...

más de 1 año ago | 1 answer | 0

1

answer

Question


sscanf missing first zero
Hello I need to pull out the number below from the string val='020550023 MBB' and then convert it back to a string (so I want ...

más de 1 año ago | 1 answer | 0

1

answer

Question


Image Aquisition Toolbox, islogging versus isrunning confusion
Hello, I have a couple of questions over the IMAQ toolbox. 1: Im getting confused over the checks islogging and isrunning. ...

más de 1 año ago | 0 answers | 0

0

answers

Question


Deleting an image in an image array doesn't appear to be working
Hello, I have an image array consisting of 7 images. Im using an imspinner to delete an image at the required index given by th...

más de 1 año ago | 2 answers | 0

2

answers

Question


Error while evaluating UIControl Callback from a checkbox on a figure
hello, Im and trying to repeat somethign that worked in GUIDE, but not in appdesigner: when the user presses a pushbutton on my ...

más de 1 año ago | 1 answer | 0

1

answer

Question


Error using VideoWriter to write video frames to a file
Hello, I am trying to save a video from a FLIR camera using the gentl adaptor. vid = videoinput('gentl', 1, 'Mon...

más de 1 año ago | 1 answer | 0

1

answer

Answered
Displaying 3 heatmaps on a figure side by side
Work it out: ax1=subplot(1,3,1,'parent',f1); h1=heatmap(d1); ax2=subplot(1,3,2,'parent',f...

más de 1 año ago | 0

Question


Displaying 3 heatmaps on a figure side by side
Hello, I have 3 heatmaps on a UITab (I also have the underlying data for each as arrays). I am trying to get just the 3 heatmap...

más de 1 año ago | 1 answer | 0

1

answer

Question


Help with extracting images from a holder and montaging
Hello, I have collected a set of images (10) using the image aquisitions tool box and they ar eheld in a variable called frame. ...

más de 1 año ago | 1 answer | 0

1

answer

Question


Filter a directory and add in listbox only files with TIF/TIFF and containing a certain String
Hello, I am trying to list all tif images ina folder into a listbox. I have it working but am trying to now only list those tif...

más de 1 año ago | 1 answer | 0

1

answer

Answered
Create matrix with elements representing distance from centre of matrix
Here's my attempt - not sure if its the best way: n=5; % n must be odd (nxn matrix) ...

más de 1 año ago | 0

Question


Create matrix with elements representing distance from centre of matrix
Hello. If i have a 3x3, 5x5 or 7x7 matrix or generally a nxn matrix where n is odd, i want each element to represent the distanc...

más de 1 año ago | 3 answers | 0

3

answers

Question


Converting an array of doubles to a string
Whats the best way to convert v which is a class double. v = 0 0 2736 1824 ans = ...

más de 1 año ago | 1 answer | 0

1

answer

Question


Image Acquisiton Timing Variation
Hello, I am seeing a wide variation on timing issues using the IMAQ (with Genicam adaptor) vidobj=app.vidobj1; tic...

más de 1 año ago | 0 answers | 0

0

answers

Answered
Convert some columns in 'double array' to single digit, rest as bank and then put in UITable
I found this works: C = num2cell(T) app.UITable2.Data=C; app.UITable2.ColumnFormat={'c...

más de 1 año ago | 0

| accepted

Load more