Réponse apportée
Button to clear an axes and a table content - App Desginer
app.myTable.Data = [];

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
how to plot a grouped bar chart with categories and error bars
Take transpose of y

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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); ...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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\...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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',...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Plotting amplitude spectrum of a signal
https://in.mathworks.com/matlabcentral/answers/21096-amplitude-spectrum

plus de 6 ans il y a | 1

Réponse apportée
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 ...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 3

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
I want use a gps in matlab
Read data from Serial Port

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

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

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 1

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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'...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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 ;

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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); ...

plus de 6 ans il y a | 3

| A accepté

Réponse apportée
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) ...

plus de 6 ans il y a | 1

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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);...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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 ...

plus de 6 ans il y a | 0

Charger plus