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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 1

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 3

| aceptada

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 1

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

alrededor de 6 años hace | 0

| aceptada

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

alrededor de 6 años hace | 1

| aceptada

Respondida
Hello I'm having a problem where I want to add multiple band pass filters onto one graph but, I have an error that I can figure out how to solve it.
Change the line g1.*b to bfilterbank= g1(k).*b ;

alrededor de 6 años hace | 1

| aceptada

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

alrededor de 6 años hace | 1

| aceptada

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

alrededor de 6 años hace | 1

| aceptada

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

alrededor de 6 años hace | 3

| aceptada

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

alrededor de 6 años hace | 1

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 1

| aceptada

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

alrededor de 6 años hace | 0

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

alrededor de 6 años hace | 0

Cargar más