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

oltre un anno fa | 1

| accettato

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

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

circa 2 anni fa | 0

| accettato

Domanda


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

circa 2 anni fa | 3 risposte | 0

3

risposte

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

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

quasi 3 anni fa | 1

| accettato

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

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

circa 3 anni fa | 0

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

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

circa 3 anni fa | 0

Domanda


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

circa 3 anni fa | 3 risposte | 0

3

risposte

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 0 risposte | 0

0

risposte

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

circa 3 anni fa | 0

| accettato

Domanda


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

circa 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 3 anni fa | 2 risposte | 0

2

risposte

Carica altro