Answered

Display video-data of a three-dimensional M-by-N-by-T array

You can use implay or vision.VideoPlayer A = rand(360,640,676,'single'); implay(A,60)

Display video-data of a three-dimensional M-by-N-by-T array

You can use implay or vision.VideoPlayer A = rand(360,640,676,'single'); implay(A,60)

alrededor de 2 años ago | 0

Answered

How can i Change pixel color?

I = imread('red.jpg'); figure,subplot(121),imshow(I) th = 20; [x,y,~]=size(I); for ii=1:x for jj=1:y if((I(i...

How can i Change pixel color?

I = imread('red.jpg'); figure,subplot(121),imshow(I) th = 20; [x,y,~]=size(I); for ii=1:x for jj=1:y if((I(i...

alrededor de 2 años ago | 1

| accepted

Answered

How to insert arrows at the middle of each of the parallel lines

https://www.mathworks.com/matlabcentral/answers/92988-how-do-i-plot-a-line-that-has-an-arrow-on-the-end-of-it-in-2-d-and-3-d ht...

How to insert arrows at the middle of each of the parallel lines

https://www.mathworks.com/matlabcentral/answers/92988-how-do-i-plot-a-line-that-has-an-arrow-on-the-end-of-it-in-2-d-and-3-d ht...

alrededor de 2 años ago | 0

Answered

I have 2 contours on the same plot and I want to differentiate them with colours so I can see the difference.

I = imread('rice.png'); figure,subplot(121), imcontour(I);ax = gca; colormap(ax,'cool') subplot(122); imcontour(I);ax = gca...

I have 2 contours on the same plot and I want to differentiate them with colours so I can see the difference.

I = imread('rice.png'); figure,subplot(121), imcontour(I);ax = gca; colormap(ax,'cool') subplot(122); imcontour(I);ax = gca...

alrededor de 2 años ago | 0

| accepted

Answered

How can I copy figure to UIAxes?

a = uiaxes; b = getframe(gca); imshow(b.cdata,'Parent',b) There might be some quality issues

How can I copy figure to UIAxes?

a = uiaxes; b = getframe(gca); imshow(b.cdata,'Parent',b) There might be some quality issues

alrededor de 2 años ago | 0

Answered

Remove peak at 0 hz of fft

FFT of X FFT of X High pass filtered

Remove peak at 0 hz of fft

FFT of X FFT of X High pass filtered

alrededor de 2 años ago | 0

Answered

Excel file processing on GUIDE

https://www.mathworks.com/help/matlab/import_export/ways-to-import-spreadsheets.html

Excel file processing on GUIDE

https://www.mathworks.com/help/matlab/import_export/ways-to-import-spreadsheets.html

alrededor de 2 años ago | 0

Answered

How to detect the uitable on GUI

all(cellfun(@isempty, data(:))) error is in this line. data(:) is a double array on which you are trying to apply cellfun al...

How to detect the uitable on GUI

all(cellfun(@isempty, data(:))) error is in this line. data(:) is a double array on which you are trying to apply cellfun al...

alrededor de 2 años ago | 0

Answered

3D-Surface between 2 lines.

I have a layman approach for this (The dumb method) get co-ordinates by cursor export them to workspace save it in a vari...

3D-Surface between 2 lines.

I have a layman approach for this (The dumb method) get co-ordinates by cursor export them to workspace save it in a vari...

alrededor de 2 años ago | 0

Answered

How to solve normalize issue for app designer?

https://www.mathworks.com/help/matlab/creating_guis/managing-resizable-apps-in-app-designer.html

How to solve normalize issue for app designer?

https://www.mathworks.com/help/matlab/creating_guis/managing-resizable-apps-in-app-designer.html

alrededor de 2 años ago | 0

| accepted

Answered

Removing any previously draw roi on an image

findobj(ax,'Type','images.roi.Ellipse')

Removing any previously draw roi on an image

findobj(ax,'Type','images.roi.Ellipse')

alrededor de 2 años ago | 0

| accepted

Answered

Inaccurate data in datatips of MATLAB plot

fig = figure; plot(1:3455297,1.026*ones(1,3455297)) X=datacursormode(fig); X.UpdateFcn = @myupdatefcn; where myupdatefcn ...

Inaccurate data in datatips of MATLAB plot

fig = figure; plot(1:3455297,1.026*ones(1,3455297)) X=datacursormode(fig); X.UpdateFcn = @myupdatefcn; where myupdatefcn ...

alrededor de 2 años ago | 0

Answered

Plotting 20-100 line with different distinguishable colors and shades on the same figure using a for loop

Try the following strategy cmp=distinguishable_colors(20); f=figure; ax = gca(f);ax.ColorOrder = cmp; hold on; A = rand(100...

Plotting 20-100 line with different distinguishable colors and shades on the same figure using a for loop

Try the following strategy cmp=distinguishable_colors(20); f=figure; ax = gca(f);ax.ColorOrder = cmp; hold on; A = rand(100...

alrededor de 2 años ago | 0

Answered

Multiple plots in uitab/uitabgroup

The Dumb Way I found another way to do that (maybe it's not that efficient) Basically subplot will plot all data on figure whi...

Multiple plots in uitab/uitabgroup

The Dumb Way I found another way to do that (maybe it's not that efficient) Basically subplot will plot all data on figure whi...

alrededor de 2 años ago | 0

Answered

Transpose a structure with named fields ?

if all of them are scalar then this will work s_mod=structfun(@transpose,s,'UniformOutput',false)

Transpose a structure with named fields ?

if all of them are scalar then this will work s_mod=structfun(@transpose,s,'UniformOutput',false)

alrededor de 2 años ago | 1

| accepted

Answered

App Designer: Calling variables created in other functions

The variable you are defining in function YpositionsEditFieldValueChanged(app, event) . . % y_converted . end and func...

App Designer: Calling variables created in other functions

The variable you are defining in function YpositionsEditFieldValueChanged(app, event) . . % y_converted . end and func...

alrededor de 2 años ago | 0

Answered

Dictionary / Map with array as key

EDIT: First Answer is replaced I donot understand why you dont want to go on characters. see the code below M = containers.Ma...

Dictionary / Map with array as key

EDIT: First Answer is replaced I donot understand why you dont want to go on characters. see the code below M = containers.Ma...

alrededor de 2 años ago | 0

Answered

how to get a license number

Here you go https://www.mathworks.com/academia/tah-support-program/eligibility.html

how to get a license number

Here you go https://www.mathworks.com/academia/tah-support-program/eligibility.html

alrededor de 2 años ago | 1

Answered

Setting x axis in hh:mm format for plotting

The Dumb Method clc;clear;close all Time=linspace(16.8,17.8,230400)'; Field=linspace(50,145,230400)'; figure('units','no...

Setting x axis in hh:mm format for plotting

The Dumb Method clc;clear;close all Time=linspace(16.8,17.8,230400)'; Field=linspace(50,145,230400)'; figure('units','no...

alrededor de 2 años ago | 1

| accepted

Answered

What does "Index exceeds the number of array elements (6)." mean?

You are using allepunkte as a for loop iterator. From Line 197 to Line 222 and you basically index two variables namely inside a...

What does "Index exceeds the number of array elements (6)." mean?

You are using allepunkte as a for loop iterator. From Line 197 to Line 222 and you basically index two variables namely inside a...

alrededor de 2 años ago | 0

| accepted

Submitted

Gauge for GUIDE

Gauge control for GUIDE with mouse interaction

alrededor de 2 años ago | 1 download |

Answered

How to make such a developed gui? Is it possible?

You can create them using patch and text with mousebutton callback. see the attached figure

How to make such a developed gui? Is it possible?

You can create them using patch and text with mousebutton callback. see the attached figure

alrededor de 2 años ago | 1

Question

Plot Multiple Functions in a single call to fplot

I want to draw 2 concentric circles using fplot. Suppose that radius of 1st circle is 1 and 2nd circle is 0.8 then For Loop Met...

alrededor de 2 años ago | 2 answers | 0

Answered

DOWNSAMPLING SEÑAL DE AUDIO

a medida que cambia su frecuencia de muestreo, alimente la nueva frecuencia de muestreo para que suene y no la anterior clear...

DOWNSAMPLING SEÑAL DE AUDIO

a medida que cambia su frecuencia de muestreo, alimente la nueva frecuencia de muestreo para que suene y no la anterior clear...

alrededor de 2 años ago | 0

Answered

Help to Improve this short code (create a rect given initial point, final point and slope)

function[y] = LineFuntion(pts,m,Pi,Pf) if abs(m) == Inf % vertical line y = linspace(P...

Help to Improve this short code (create a rect given initial point, final point and slope)

function[y] = LineFuntion(pts,m,Pi,Pf) if abs(m) == Inf % vertical line y = linspace(P...

alrededor de 2 años ago | 1

| accepted

Answered

How to assign numeric value to radio button in gui?

https://www.mathworks.com/help/matlab/ref/matlab.ui.control.radiobutton-properties.html I usually use UserData but you can us...

How to assign numeric value to radio button in gui?

https://www.mathworks.com/help/matlab/ref/matlab.ui.control.radiobutton-properties.html I usually use UserData but you can us...

alrededor de 2 años ago | 0

| accepted

Answered

How can I remove the excess object detected? Often my code finds more mouths and I want take only one, the one which is belower. Thanks.

Input the face to mouth and nose detection and not the complete image play with threshold value see how picutre on bottom l...

How can I remove the excess object detected? Often my code finds more mouths and I want take only one, the one which is belower. Thanks.

Input the face to mouth and nose detection and not the complete image play with threshold value see how picutre on bottom l...

alrededor de 2 años ago | 0

| accepted

Answered

How to pull value of table for char array?

Because t(1,'Domain') is of type table. You need to convert that table output to string or cell. To do that type on Command wind...

How to pull value of table for char array?

Because t(1,'Domain') is of type table. You need to convert that table output to string or cell. To do that type on Command wind...

alrededor de 2 años ago | 0

Answered

Different line style and color in cell

you can use for loop or you can use cellfun. data= {rand(1,15) rand(1,15) rand(1,15) rand(1,15)}; line_style = {'-','--',':','...

Different line style and color in cell

you can use for loop or you can use cellfun. data= {rand(1,15) rand(1,15) rand(1,15) rand(1,15)}; line_style = {'-','--',':','...

alrededor de 2 años ago | 0