Community Profile # Pavel Osipov

### St.Petersbourg State Technical University

Last seen: 1 month ago Active since 2017

male

#### Statistics

• • • • • • #### Content Feed

View by

String to txt file with each value in a new line
Hi. 1) If there are always the same number of spaces, then in MATLAB Editor - "Find and Replace" we change the Spaces to "; " -...

1 year ago | 0

how can I find signal assessment block in matlab simulink for completing my task in training session?
Hi. We set the initial condition for the integrator in its properties, then in Simulink Browser in the Sinks library, find Scop...

1 year ago | 1

How to achieve real-time graphics in MATLAB?
See Matlab help topic: Simulation of a Bouncing Ball. At Simulink: sldemo_bounce Good Bye.

1 year ago | 0

Calculating TN, FN, TP and FP to plot ROC curve
Hi. Let be a spectral density curve as a function of the frequency of ohms: If om and Pow are numeric arrays (of the same lengt...

1 year ago | 0

Help with matrix creation
Hi? Megan Caston. I'm think, it's may be >> j = 1:41; z(j) = (j-1)/10; >> lenZ=length(z); >> AA=[ones(lenZ,1), z',(z.^...

1 year ago | 0

How to achieve real-time graphics in MATLAB?
Hello, SYED IMTIAZ ALI SHAH. Please tell me if your ball is moving on the screen. Or do you see a static image? There is a demo ...

1 year ago | 0

How to plot a function with different values
If M2xWrk2 is matrix mult: %MyAnswer1.m %If M2xWrk2 is matrix mult clear all M = [1;3;5];%3x1 double k=0.1; t=0:24;%1x25 ...

1 year ago | 0

How to plot a function with different values
Is exp(-k*M*t)*(M-2) matrix multiplication? Or exp(-k*M*t)*(M-2) element by element? If element by element: clear all M = [1...

1 year ago | 1

Help! I'm having trouble plotting hamiltonian and LQR.
Damian, hello! See attachment.Bye!

1 year ago | 0

Help! I'm having trouble plotting hamiltonian and LQR.
Damian, Hello! Putting matrices C =diag(1,...,1) and D=zeros(.,.) get Your system of equations. Simulink State-Space block allow...

1 year ago | 0

Help! I'm having trouble plotting hamiltonian and LQR.
Damian, is this the task You set?

1 year ago | 0

Help! I'm having trouble plotting hamiltonian and LQR.
Damian Prashad, good afternoon. Looked up Your code. Everything works well. What matrices Would you like to change to larger siz...

1 year ago | 0

shooting method, bvp
Tanya, hi! You attempt to solve Boundary Value Problem. Sorry, I'm think -> it's initial value problems, and tell you about sys...

2 years ago | 0

How to find eigenvalues for a system of lenearized ordinary differential equations?
Hi! det(p*E-A)=0. This is the equation for the eigenvalues of p. - -> The unkown "p" is solution det(p*E-A)=0. det - is the det...

2 years ago | 0

how can I open example available in documentation example
"But when do so by typing given command in MATLAB command window it's not opening.."- this happens when you do not have such a f...

2 years ago | 0

Using the while loop function
fa1=false; %fa2=true; k=0; while k<5 k=k+1; if fa1==false disp('you answer is bad, try again. '); ...

2 years ago | 0

How can i get a fixed value output after giving relatively close variable values
Hi, everybody. Usually the method of "Half division"is used. 1. Build an input-output table, where the inputs are taken from [...

2 years ago | 0

How to find eigenvalues for a system of lenearized ordinary differential equations?
Tanya, hi. write so: dyi/dt =...y1 (t)+...y2 (t)+...+y5(t); let x (t)=[y1;y2;...;y5]; -> ((V/ve) x=Ah; A - matrix coeff. Y...

2 years ago | 0

| accepted

f=@(t,y) 4*exp(0.8*t)-0.5*y; tspan = [0 4]; y0 = 2; h = 1; [t,y] = ode_euler(f,tspan,y0,h)
tspan = [0 4]; y0 = 2; [t1,y1] = ode45(@(t,y) 4*exp(0.8*t)-0.5*y,tspan,y0,h); figure('name','Reda','color','w'); plot(t1,y1,...

2 years ago | 0

| accepted

Simultaneously numerically integrate multiple ODE's in MATLAB
"I was trying to solve a system of multiple orders at the same time in Matlab but wasn't sure how should I solve for that". "is ...

2 years ago | 0

Simscape: Base excitation of a dynamic Seat-Model: No oscillation behaviour.
Hi! Steve is absolutely right. I believe that almost everything in Obelix is ready, but you need to carefully monitor the loca...

2 years ago | 0

Question

Good evening! Is there an example Simscape Multibody model moving a point along a curve?
The curve is smooth, similar to the outline of the top of the rider's helmet.

2 years ago | 1 answer | 0

### 1

What setting do I change so that all files opened in the editor are accessed by a single tabbed matlab editor window?
Thank you dear Ivan, everything was fine. In P 18b already has a button " Collapse all open files in the editor window." Hello e...

2 years ago | 0

Question

Dear experts! Why the MATLAB editor opens *.m files in separate Windows. What to change in MATLAB settings so that files are ope...

2 years ago | 1 answer | 0