Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

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

etwa 4 Jahre vor | 0

| akzeptiert

Frage


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

etwa 4 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

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

fast 5 Jahre vor | 1

| akzeptiert

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

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

fast 5 Jahre vor | 0

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

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

etwa 5 Jahre vor | 0

Frage


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

etwa 5 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 5 Jahre vor | 0 Antworten | 0

0

Antworten

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

etwa 5 Jahre vor | 0

| akzeptiert

Frage


Error using tiledlayout syntax instead of subplot when referencing axes handles
Hello, I am trying to use the newer tiledlayout feature rather than subplots as I want to adjust the padding round each subplot....

etwa 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Convert some columns in 'double array' to single digit, rest as bank and then put in UITable
Hello, I have an array (class='double) T = 1.0000 1.0000 1.0000 1.3521 0.1780 0 1.3966 10.000...

etwa 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


User Defined Montage but filling 12x8 Array
Hello, I am scanning a sample that has a possible 12x8 locations. The user defines the positons to scan and the scan order is in...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden