Community Profile

photo

Vladimir Sovkov


Last seen: 1 day ago

St. Petersburg State University

42 total contributions since 2014

Professional Interests: computational physics, applied mathematics

Contact

Vladimir Sovkov's Badges

  • First Submission
  • Knowledgeable Level 2
  • Solver
  • First Answer

View details...

Contributions in
View by

Answered
How do I calculate acceleration with velocity and the code given?
% sample data t=0:0.1:10; % time x=3+2*t+t.^2; % coordinate [t,ind]=sort(t); % in a case time is not in an ascending order ...

2 days ago | 0

Answered
How to assign numbers to letters of the alphabet. Ex. A/a=1 B/b=2
The ASCII codes can be found with the function double double('A'); 65 If you want to get its ordinal number in the alphabet, ...

9 days ago | 0

Answered
How to sum columns of a matrix in MATLAB in specified number of columns?
B=squeeze( sum( reshape(A,size(A,1),10,[]) ,2) );

10 days ago | 0

| accepted

Answered
Create a gaussian from x values
L=20; V = linspace(0,L,301); sigma = L/20; T0 = exp(-((V-mean(V))/sigma).^2/2); plot(V,T0);

16 days ago | 1

| accepted

Answered
extract a double array to multiple arrays
b1=aa(1:4:end); b2=aa(2:4:end); b3=aa(3:4:end); b4=aa(4:4:end);

16 days ago | 1

| accepted

Answered
Importing Latex Code into Matlab Scripts
In live script, go to \insert\Equation\Latex equation or just press Cntrl+Shift+L or type your Latex equation embraced by $ symb...

20 days ago | 0

Submitted


DigBit
Image Digitizer: Turn your scanned plots to the numeric form

20 days ago | 12 downloads |

Thumbnail

Answered
How can I calculate the integral2 using sum of prod?
symprod does not support the element-wise multiplication, which is needed for integral2. You sholuld probably define your fun v...

22 days ago | 1

| accepted

Answered
sorting 2 array based on elements of other array
[A,ind]=sort(A); B=B(ind);

24 days ago | 0

| accepted

Answered
How to find the maximum distance between two curves?
(1) Specify, what do you mean by the distance between curves. If this is the distance between any points of them, a special (tho...

28 days ago | 2

| accepted

Answered
New to Matlab- How to import a text file for analysis that contains numbers and characters?
If you need it only once (or few times), use the Import utility of Matlab (Home\Import Data - a green downward arrow); chose the...

1 month ago | 0

Answered
help speeding up an incrementing loop
At the first glance, you can replace numerator=0; for k = 1:n_trc numerator = nume...

1 month ago | 0

Answered
How to find the vertical height of an ellipse/y axis length of ellipse.
In fact, the height and the width of an ellipse can be easily and more accurately found analytically. Here is Matlab program rea...

1 month ago | 1

| accepted

Answered
How to expand the Gaussian Kernel into series of eigenfunctions?
Fitst of all, you should specify --nothing can be done with an arbtrary function. Then, you can try to calculate the integrals a...

1 month ago | 1

| accepted

Answered
Turn function to zero when it reach specific value.
x = linspace (0,180,1800); y = 1. * ((exp (-0.01 .* x)) .* (sin (x)-(x .* cos (x / 2)))); Pu = 30; y(find(y>=Pu,1):end)=0; ...

1 month ago | 0

| accepted

Answered
How to show part of a nested structure as a vector?
sn='seine_1'; % sn=fieldnames(all_seines); % sn=sn{1}; nm=fieldnames(all_seines.(sn)); N=numel(nm); A=zeros(N,1); for k=...

1 month ago | 0

Answered
Values over 1000 use e
read matlab help on the "format" command. try "format longg".

1 month ago | 0

Answered
how to create Chi squared distribution using mean and variance?
see https://www.mathworks.com/help/stats/chi-square-distribution-1.html

1 month ago | 0

Answered
Not spotting where/how index exceeds number of array elements
Is this what you want? Live script vesion is attached. xmesh = linspace(0.01,0.05,5); solinit = bvpinit(xmesh, @guess); sol...

1 month ago | 0

| accepted

Solved


generate the matrix
given a value n (say 4) - generate the matrix like below; y= [0 1 2 3 4; -1 0 1 2 3; ...

2 months ago

Answered
Cell of character arrays
S=cell(10,1); S(1:5)={'cat'}; S(6:10)={'dog'};

2 months ago | 0

| accepted

Answered
How to find all letters before a character in a char variable
split(secretMes,'#')

2 months ago | 1

Answered
How to plot for for a range? showing error
Probably, t^2 and t^4 are implyed to be t.^2 and t.^4. And all the multiplications of the expressions containing t are implyed ...

2 months ago | 0

Answered
Looping for storing differet matrix in different rows but in same matrix.
Before the loop, initiate Calculated_Data=zeros(numel(alpha_data),numel(alpha_data{1,1})); k=0; within the loop, use k=k+1; ...

2 months ago | 1

| accepted

Answered
Adding k discrete functions together in a "for" loop
If you do not need the "wave" contents for a further use, just drop out (k) from all its entries. If you need it for a further ...

2 months ago | 0

| accepted

Answered
Calculate n and p values for binomial distribution in Matlab
The question has nothing to do with Matlab. Just recall, that in the binomial distribution =n*p and =n*p*(1-p).

2 months ago | 0

Answered
Differentiating algebraic equation fractions
syms x; simplify(diff(@(x)((-x^2-x)/(x+2)*(x+3)),x))

2 months ago | 1

| accepted

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

2 months ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

2 months ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

2 months ago

Load more