Community Profile

photo

Serhii Tetora


Last seen: 5 months ago Active since 2019

Followers: 0   Following: 0

Message

Research assistant at Otto-von-Guericke University Magdeburg

Statistics

All
  • Treasure Hunt Participant
  • MATLAB Central Treasure Hunt Finisher
  • Knowledgeable Level 3
  • 3 Month Streak
  • Indexing II Master
  • CUP Challenge Master
  • First Review
  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer
  • Speed Demon
  • Community Group Solver

View badges

Feeds

View by

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 2 answers | 0

2

answers

Answered
Storing results from for-loop
idx = []; for i = 1:length(grfcutl) a = grfcutl{i}; idx(end+1) = find(a<=0,1,'first') end

3 years ago | 0

| accepted

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

3 years ago | 0

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

3 years ago | 0

Answered
How to open .mpr data?
It's associated to a data file format of Visual FoxPro

3 years ago | 0

| accepted

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

3 years ago | 1

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

3 years ago | 1

Answered
How to display cfit data on plot
coeffs = coeffnames(fitresults); coeffvals= coeffvalues(fitresults); ci = confint(fitresults,0.95); str1 = sprintf('\n %s = %...

3 years ago | 0

Answered
How to choose data with three conditions to plot contour
x(x<0 & x>-25) = 0;

3 years ago | 1

| accepted

Answered
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(...

3 years ago | 0

| accepted

Answered
peak finding of a graph
x=V1_1_new; y=y1_1_new; [pks, locs] = findpeaks(y); plot(x,y,x(locs),pks,'o')

3 years ago | 0

Answered
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 ago | 0

| accepted

Answered
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 ago | 0

| accepted

Answered
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 ago | 1

| accepted

Answered
How to make a gif or video file from multiple *.dat* files using Matlab?
use getframe and writeVideo in for-loop

4 years ago | 0

Answered
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 ago | 0

| accepted

Answered
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 ago | 0

Answered
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 ago | 0

| accepted

Answered
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 ago | 1

| accepted

Answered
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 ago | 0

| accepted