Answered
[DISCONTINUED] MATLAB Answers Wish-list #5 (and bug reports)
Someone is Typing (Whistlist) This feature can be very usefull not for the questioner but for contributors. For example Wa...

3 years ago | 4

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)

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

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

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

3 years 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

3 years ago | 0

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

3 years ago | 0

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

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

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

3 years 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

3 years ago | 0

| accepted

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

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

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

4 years ago | 0

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

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

4 years 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)

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

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

4 years ago | 0

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

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

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

4 years ago | 0

| accepted

Submitted


Gauge for GUIDE
Gauge control for GUIDE with mouse interaction

4 years ago | 3 downloads |

Thumbnail

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

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

4 years ago | 2 answers | 0

2

answers

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

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

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

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

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

4 years ago | 0

Load more