Answered
Button to clear an axes and a table content - App Desginer
app.myTable.Data = [];

5 years ago | 0

| accepted

Answered
how to plot a grouped bar chart with categories and error bars
Take transpose of y

5 years ago | 0

| accepted

Answered
Taking the norm of every 1x3 vector inside a 60x3 data
There is a shorter way of doing that i.e. without for loop convert array to cell apply cellfun suppose r = rand(60,3); co...

5 years ago | 0

Answered
How to change a variable in a string
Use sprintf status =sprintf('Fibonacci no.%d = %d',k,F(k)); disp(status); But fprintf can do both job in 1 command i.e. forma...

5 years ago | 0

Answered
Multiple Inputs, Multiple Outputs
This is not a good coding approach SI=Y0(1); SS=Y0(2); XI=Y0(3); XS=Y0(4); XB_H=Y0(5); XB_A=Y0(6); XP=Y0(7); SO=Y0(8); ...

5 years ago | 0

| accepted

Answered
I am not getting the thin image please solve this problem.
add a slash at the end of imagefolder because currently you are looking at imagefolder='C:\Users\Dell\Desktop\python tutorials\...

5 years ago | 0

| accepted

Answered
Change text height in NNtool
I have this figure Now i want to change the title fontsize of all the subplots a=findall(gcf,'-property','FontSize','type',...

5 years ago | 0

| accepted

Answered
Plotting amplitude spectrum of a signal
https://in.mathworks.com/matlabcentral/answers/21096-amplitude-spectrum

5 years ago | 1

Answered
How to calculate PSNR in Matlab Figure file?
signal1 = openfig('Figure1.fig'); signal2 = openfig('Figure2.fig'); signal1 contains the figure handle not the data you have ...

5 years ago | 0

| accepted

Answered
how to make image half-transparent and how do i plot on the image?
If you want to draw something on image, plot image (imshow) and plot lines which you want on the image for example imshow('moo...

5 years ago | 0

| accepted

Answered
Scaling Right y-axis
Remove ylim from line 28 and insert it at the end of the code It is recommended to Remove the ployy part from your code us...

5 years ago | 0

Answered
how to convert pressure versus time to pressure versus frequency using fft function
set xlim between 30 and 1e6 set you xtick as [30 300 3e3 3e4 3e5] turn off xMinorTick turn off xMinorGrid turn on grid cha...

5 years ago | 0

| accepted

Answered
Show Values on bar graph; above bar when positive values, below bar when positive values
figure, vals = randi([-10 10],1,10); x = 1:10; h = bar(x,vals);ylim([-12 12]) lbs1 = cellfun(@num2str,num2cell(vals),'Unif...

5 years ago | 3

| accepted

Answered
Getting numerical data for dsp.Chirp or frest.Chirp functions
x=VSWR_sweptFreq_input.generateTimeseries; t = x.Time; lfm = x.Data; or you can take it out from plot y = gca; t = y.Childr...

5 years ago | 0

| accepted

Answered
Pick a value from random matrix
if you always want the same value from a random generator check the following link https://in.mathworks.com/help/matlab/ref/rng...

5 years ago | 0

Answered
I want use a gps in matlab
Read data from Serial Port

5 years ago | 0

Answered
How to obtain an intensity matrix from a surface object?
This might work for your case (it is not necessary that this works for every condition) [X,Y,Z] = meshgrid(-2:.2:2); V = X.*ex...

5 years ago | 0

| accepted

Answered
2D images into 3D plot
x=imread('cameraman.tif'); figure,imshow(x) figure,mesh(x)view([180 90])

5 years ago | 0

Answered
Matrix multiplication error although dimensions match
You added another dimension in X here X = [ones(m,1),X]; Try this in cmd X = rand(100,3); X = [ones(size(X,1),1),X]; size(X...

5 years ago | 1

Answered
Combining multiple colors and latex commands as tick labels
You can use this instead of that plot(1:2); x = gca; pos = x.XTick; poy = min(ylim)-0.05; x.XTickLabel= ' '; sybs = {'$\ba...

5 years ago | 0

| accepted

Answered
How to quickly index the first cell of sets of the array with near similar names?
You can do that using eval but it is not efficient to use eval in your code frequently mn={'Jan','Feb','Mar','Apr','May','Jun'...

5 years ago | 1

| accepted

Answered
Convert White noise added ECG signal into binary
Load ECG Signal load('mit200.mat') Make it all positive shift_up = min(ecgsig); ecg_n = ecgsig-shift_up; Normalize it (0 to...

5 years ago | 1

| accepted

Answered
Enter values into a FIFO array
I think you are trying to save last five frames in a buffer, but a for loop is not required for that purpose frameBuffer=zero...

5 years ago | 1

| accepted

Answered
how to create random marker indices in a loop?
figure,hold on x = 1:10; all_marks = {'o','+','*','.','x','s','d','^','v','>','<','p','h'}; for i=1:6 y = rand(1,10); ...

5 years ago | 3

| accepted

Answered
HOW TO MERGE MANY .TXT FILES WITH A LOOP?
File_all contains data of all file. fid_p = fopen('File_all.txt','w'); % writing file id x = 1:100; for i =1:length(x) ...

5 years ago | 1

Answered
How to retain a line on axes when plotting new line in MATLAB GUI?
I know one method, maybe it is not the best but it worked for me figure; plot(1:100,'b.','LineWidth',20);hold on imshow('came...

5 years ago | 0

Answered
creating four arrays from two cell arrays?
A = gooddiff; B = gatenumber; Now Logical Indexing pos = A<0; neg = A>=0; A_pos = A(pos); A_neg = A(neg); B_pos = B(pos);...

5 years ago | 1

| accepted

Answered
Convolution vs Correlation - what is the main difference?
Take a complex number as an example s = [1+1j 2-2j]; How convolution is performed (i am convolving s with itself) you take th...

5 years ago | 0

Answered
i got error on running roughnessGUI
Error in this line image=imread(char(filename{1})); it looks like filename is a variable of type char or some other but not a ...

5 years ago | 0

Load more