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

4 years 前 | 0

| 已接受

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

4 years 前 | 0

| 已接受

已回答
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...

4 years 前 | 0

已回答
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...

4 years 前 | 0

已回答
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); ...

4 years 前 | 0

| 已接受

已回答
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\...

4 years 前 | 0

| 已接受

已回答
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',...

4 years 前 | 0

| 已接受

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

4 years 前 | 1

已回答
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 ...

4 years 前 | 0

| 已接受

已回答
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...

4 years 前 | 0

| 已接受

已回答
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...

4 years 前 | 0

已回答
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...

4 years 前 | 0

| 已接受

已回答
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...

4 years 前 | 3

| 已接受

已回答
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...

4 years 前 | 0

| 已接受

已回答
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...

4 years 前 | 0

已回答
I want use a gps in matlab
Read data from Serial Port

4 years 前 | 0

已回答
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...

4 years 前 | 0

| 已接受

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

4 years 前 | 0

已回答
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...

4 years 前 | 1

已回答
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...

4 years 前 | 0

| 已接受

已回答
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'...

4 years 前 | 1

| 已接受

已回答
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...

4 years 前 | 1

| 已接受

已回答
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...

4 years 前 | 1

| 已接受

已回答
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); ...

4 years 前 | 3

| 已接受

已回答
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) ...

4 years 前 | 1

已回答
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...

4 years 前 | 0

已回答
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);...

4 years 前 | 1

| 已接受

已回答
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...

4 years 前 | 0

已回答
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 ...

4 years 前 | 0

加载更多