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

fast 6 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 0

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

fast 6 Jahre vor | 0

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

fast 6 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 1

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

fast 6 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 0

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

fast 6 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 3

| akzeptiert

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

fast 6 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 0

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

fast 6 Jahre vor | 0

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

fast 6 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 0

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

fast 6 Jahre vor | 1

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

fast 6 Jahre vor | 0

| akzeptiert

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

fast 6 Jahre vor | 1

| akzeptiert

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

fast 6 Jahre vor | 1

| akzeptiert

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

fast 6 Jahre vor | 1

| akzeptiert

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

fast 6 Jahre vor | 3

| akzeptiert

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

fast 6 Jahre vor | 1

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

fast 6 Jahre vor | 0

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

fast 6 Jahre vor | 1

| akzeptiert

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

fast 6 Jahre vor | 0

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

fast 6 Jahre vor | 0

Mehr laden