Respondida
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)

más de 2 años hace | 0

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

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

| aceptada

Respondida
How can I copy figure to UIAxes?
a = uiaxes; b = getframe(gca); imshow(b.cdata,'Parent',b) There might be some quality issues

más de 2 años hace | 0

Respondida
Remove peak at 0 hz of fft
FFT of X FFT of X High pass filtered

más de 2 años hace | 0

Respondida
Excel file processing on GUIDE
https://www.mathworks.com/help/matlab/import_export/ways-to-import-spreadsheets.html

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

Respondida
How to solve normalize issue for app designer?
https://www.mathworks.com/help/matlab/creating_guis/managing-resizable-apps-in-app-designer.html

más de 2 años hace | 0

| aceptada

Respondida
Removing any previously draw roi on an image
findobj(ax,'Type','images.roi.Ellipse')

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

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

más de 2 años hace | 0

Respondida
How can I recenter a map
Use fftshift for that purpose.

más de 2 años hace | 0

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

más de 2 años hace | 0

Respondida
Transpose a structure with named fields ?
if all of them are scalar then this will work s_mod=structfun(@transpose,s,'UniformOutput',false)

más de 2 años hace | 1

| aceptada

Respondida
App Designer: Calling variables created in other functions
The variable you are defining in function YpositionsEditFieldValueChanged(app, event) . . % y_converted . end and func...

más de 2 años hace | 0

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

más de 2 años hace | 0

Respondida
how to get a license number
Here you go https://www.mathworks.com/academia/tah-support-program/eligibility.html

más de 2 años hace | 1

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

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 0

| aceptada

Enviada


Gauge for GUIDE
Gauge control for GUIDE with mouse interaction

más de 2 años hace | 5 descargas |

Thumbnail

Respondida
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

más de 2 años hace | 1

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

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

más de 2 años hace | 0

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

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

Respondida
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 = {'-','--',':','...

más de 2 años hace | 0

Cargar más