![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/13158722_1531743681041_DEF.jpg)
Serhii Tetora
Followers: 0 Following: 0
Research assistant at Otto-von-Guericke University Magdeburg
Feeds
提问
Substract fitted values from original data
I want to substract fit values from original data. Here is my code. What is wrong? Why Z and fitresult values are not equal? (se...
4 years 前 | 1 个回答 | 0
1
个回答提问
Error by creating video from images
I'm creating images from a data in parfor-loop. Then i want to create a video from this images, but have some error. I don't und...
4 years 前 | 2 个回答 | 0
2
个回答已回答
Storing results from for-loop
idx = []; for i = 1:length(grfcutl) a = grfcutl{i}; idx(end+1) = find(a<=0,1,'first') end
Storing results from for-loop
idx = []; for i = 1:length(grfcutl) a = grfcutl{i}; idx(end+1) = find(a<=0,1,'first') end
4 years 前 | 0
| 已接受
已回答
How can I insert a detail in the peak of the curve ?
use function axes for zommed peak. you can define those Position and Limits. and annotation('arrow') for arrow.
How can I insert a detail in the peak of the curve ?
use function axes for zommed peak. you can define those Position and Limits. and annotation('arrow') for arrow.
4 years 前 | 0
已回答
How to read text file with float and string types into matrix
%% Import data from text file % Script for importing data from the following text file: % % Auto-generated by MATLAB on 26-Au...
How to read text file with float and string types into matrix
%% Import data from text file % Script for importing data from the following text file: % % Auto-generated by MATLAB on 26-Au...
4 years 前 | 0
已回答
How to open .mpr data?
It's associated to a data file format of Visual FoxPro
How to open .mpr data?
It's associated to a data file format of Visual FoxPro
4 years 前 | 0
| 已接受
已回答
Curve fitting with a constrained y value to Zero
clear;close;clc x = [4.4 21.1 37.8 54.4 ]; y = [2.367224698 0 -1.857318083 -3.276015126]; w = [1 1000 1 1]; [xData...
Curve fitting with a constrained y value to Zero
clear;close;clc x = [4.4 21.1 37.8 54.4 ]; y = [2.367224698 0 -1.857318083 -3.276015126]; w = [1 1000 1 1]; [xData...
4 years 前 | 1
已回答
Code for 'Reverse a Vector'
I had no this error with v = [ -75 -22 57 13 -34 2 -94 -49 -11] You can also use w = flip(v) It is same..
Code for 'Reverse a Vector'
I had no this error with v = [ -75 -22 57 13 -34 2 -94 -49 -11] You can also use w = flip(v) It is same..
4 years 前 | 1
已回答
How to display cfit data on plot
coeffs = coeffnames(fitresults); coeffvals= coeffvalues(fitresults); ci = confint(fitresults,0.95); str1 = sprintf('\n %s = %...
How to display cfit data on plot
coeffs = coeffnames(fitresults); coeffvals= coeffvalues(fitresults); ci = confint(fitresults,0.95); str1 = sprintf('\n %s = %...
4 years 前 | 0
已回答
How to choose data with three conditions to plot contour
x(x<0 & x>-25) = 0;
How to choose data with three conditions to plot contour
x(x<0 & x>-25) = 0;
4 years 前 | 1
| 已接受
已回答
plot the month and year in X-axis
clear;clc;close all tab = xlsread('data_final'); Date = datetime(tab(:,1),tab(:,2),1); data = tab(:,3); [Date,I] = unique(...
plot the month and year in X-axis
clear;clc;close all tab = xlsread('data_final'); Date = datetime(tab(:,1),tab(:,2),1); data = tab(:,3); [Date,I] = unique(...
4 years 前 | 0
| 已接受
已回答
peak finding of a graph
x=V1_1_new; y=y1_1_new; [pks, locs] = findpeaks(y); plot(x,y,x(locs),pks,'o')
peak finding of a graph
x=V1_1_new; y=y1_1_new; [pks, locs] = findpeaks(y); plot(x,y,x(locs),pks,'o')
4 years 前 | 0
已回答
Taking values from a Matrix and Inputting into an equation, using Loops
A = [1 2 3 4 5 6 7]; for i = 1:length(A) x = A(i); y(i) = x^2; end y
Taking values from a Matrix and Inputting into an equation, using Loops
A = [1 2 3 4 5 6 7]; for i = 1:length(A) x = A(i); y(i) = x^2; end y
4 years 前 | 0
| 已接受
已回答
how add Month label in x axis
clear; close all; clc month = {'apr19', 'may19', 'june19', 'july19', 'aug19', 'sept19', 'oct19', 'nov19', 'dec19', 'jan20', 'fe...
how add Month label in x axis
clear; close all; clc month = {'apr19', 'may19', 'june19', 'july19', 'aug19', 'sept19', 'oct19', 'nov19', 'dec19', 'jan20', 'fe...
4 years 前 | 0
| 已接受
已回答
How to find the limit of a transfer function defined using tf?
sys1=tf([20 20],poly([-4 -3])); [Num,Den] = tfdata(sys1,'v'); syms s sys_syms=poly2sym(Num,s)/poly2sym(Den,s); lim = limit(s...
How to find the limit of a transfer function defined using tf?
sys1=tf([20 20],poly([-4 -3])); [Num,Den] = tfdata(sys1,'v'); syms s sys_syms=poly2sym(Num,s)/poly2sym(Den,s); lim = limit(s...
4 years 前 | 1
| 已接受
已回答
How to make a gif or video file from multiple *.dat* files using Matlab?
use getframe and writeVideo in for-loop
How to make a gif or video file from multiple *.dat* files using Matlab?
use getframe and writeVideo in for-loop
4 years 前 | 0
已回答
Taking too long to get the output (Wilson theta method)
Without loops it runs faster. Please check it carefully clc;close all;clear; MA = [8070000,0,-629468070;0,8070000,112980;-6294...
Taking too long to get the output (Wilson theta method)
Without loops it runs faster. Please check it carefully clc;close all;clear; MA = [8070000,0,-629468070;0,8070000,112980;-6294...
4 years 前 | 0
| 已接受
已回答
How to plot multiple fitted curves in single plot with different colors and legends
You can predefine your colors for example as colors = {'r','g','b'}; % or colors = colormap(jet(3)); % etc. and than in lo...
How to plot multiple fitted curves in single plot with different colors and legends
You can predefine your colors for example as colors = {'r','g','b'}; % or colors = colormap(jet(3)); % etc. and than in lo...
4 years 前 | 0
已回答
How can I insert two quadratic trendlines for two datatsets (one each) on the same figure?
clc; close all; clear; x = [0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0]; % x plot y1 = [1660.383 1665.397 1671.268 1678.238 1...
How can I insert two quadratic trendlines for two datatsets (one each) on the same figure?
clc; close all; clear; x = [0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0]; % x plot y1 = [1660.383 1665.397 1671.268 1678.238 1...
4 years 前 | 0
| 已接受
已回答
How to remove small indicator lines in the x and y-axis of a plot?
You can remove this small lines with axes property 'TickLength': set(gca,'TickLength',[0 0])
How to remove small indicator lines in the x and y-axis of a plot?
You can remove this small lines with axes property 'TickLength': set(gca,'TickLength',[0 0])
4 years 前 | 1
| 已接受
已回答
How do I organise my code?
You can try do it with loop and function clc; clear; close all; k_l = 26400; %Linear stiffness m = 483; %Mass dv = linspac...
How do I organise my code?
You can try do it with loop and function clc; clear; close all; k_l = 26400; %Linear stiffness m = 483; %Mass dv = linspac...
4 years 前 | 0
| 已接受