已回答
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)

4 years 前 | 0

已回答
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...

4 years 前 | 1

| 已接受

已回答
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...

4 years 前 | 0

已回答
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...

4 years 前 | 0

| 已接受

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

4 years 前 | 0

已回答
Remove peak at 0 hz of fft
FFT of X FFT of X High pass filtered

4 years 前 | 0

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

4 years 前 | 0

已回答
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...

4 years 前 | 0

已回答
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...

4 years 前 | 0

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

4 years 前 | 0

| 已接受

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

4 years 前 | 0

| 已接受

已回答
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 ...

4 years 前 | 0

已回答
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...

4 years 前 | 0

已回答
How can I recenter a map
Use fftshift for that purpose.

4 years 前 | 0

已回答
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...

4 years 前 | 0

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

4 years 前 | 1

| 已接受

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

4 years 前 | 0

已回答
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...

4 years 前 | 0

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

4 years 前 | 1

已回答
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...

4 years 前 | 1

| 已接受

已回答
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...

4 years 前 | 0

| 已接受

已回答
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

4 years 前 | 1

提问


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

4 years 前 | 2 个回答 | 0

2

个回答

已回答
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...

4 years 前 | 0

已回答
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...

4 years 前 | 1

| 已接受

已回答
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...

4 years 前 | 0

| 已接受

已回答
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...

4 years 前 | 0

| 已接受

已回答
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...

4 years 前 | 0

已回答
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 = {'-','--',':','...

4 years 前 | 0

已回答
copyobj for combining multiple plots - Parent and child input vectors must be equal length
Because figure 2 has multiple axes findobj(2,'type','axes') 4×1 Axes array: Axes Axes Axes Axes and you are ass...

4 years 前 | 1

| 已接受

加载更多