photo

Sergey Kasyanov


Saints Petersburg Politechnical University

Last seen: 1년 초과 전 2017년부터 활동

Followers: 0   Following: 0

메시지

통계학

All
  • Knowledgeable Level 3
  • Thankful Level 3
  • Community Group Solver
  • Commenter
  • First Review
  • GitHub Submissions Level 1
  • First Submission
  • 3 Month Streak
  • Matrix Manipulation I Master
  • Knowledgeable Level 2
  • First Answer
  • Speed Demon

배지 보기

Feeds

보기 기준

답변 있음
how to get the state-space representation from the SimMechanic model?
Hello! Try to use linmode.

대략 2년 전 | 0

답변 있음
Optimisation problem in matlab
Hello! Try that: % tune only next 2 lines L = 5;% steps in ladder Z_max = 1e2;% max Z for one R or Xl % goal Z(w) % w0 -...

3년 초과 전 | 0

답변 있음
Detecting missing data, tangent = 0, for given data.
Hello! The approach is very simple: get array with 1 when Y = 0 and 0 otherwise, then detect when 0 changes to 1 and 1 changes ...

3년 초과 전 | 0

답변 있음
plot arc that pass through a particular point
Hello! The simplest way is: figure; hold on; for i = 1 : size(XX,2) [~, n] = max(XX(:,i)); plot3(XX(:,i), YY(:,i) -...

3년 초과 전 | 1

| 수락됨

답변 있음
How to get the function after solving the differential equation using Eulers method?
Hello! A = [1, -1 -1, 1]; x0 = [1 2]; dx = [0 0]; time_step = 0.1; time = 0 : time_step : 10; x = [x0,...

3년 초과 전 | 0

| 수락됨

질문


Symbolic matrices multipleid incorrectly
Hello! I have matrix equation: When I try to find X I get incorrect result: Check does not pass: I attach a .mat fil...

3년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
Replacing matrix n column values
Hello, There are some no pretty but working solutions, n = [70, 80]; %A is MyMatrix %1 A(A(:).' < 0 &... (1:numel(A)) ...

3년 초과 전 | 0

답변 있음
How to get the symbolic determinant of a big matrix 13x13 size
Hello! Try to use my function GaussElimination: detM = prod(diag(GaussElimination(M, ''))); I test it. It works but I'm not s...

3년 초과 전 | 0

| 수락됨

제출됨


GaussElimination
Function to symbolic (for numerical too but very slow) parallel gaussian elimination for matrix.

3년 초과 전 | 다운로드 수: 3 |

답변 있음
how to generate permutations of N numbers in K positions
Hello! Use nchoosek function with combination of perms function. That solution is slow but does not require any side files. re...

3년 초과 전 | 0

답변 있음
I want the right coding for ploting a horizontal line with sin wave
Hello! hold on plot([x1,x2], [y,y]) Line starts in [x1, y] point and ends in [x2, y] point.

3년 초과 전 | 0

답변 있음
why do i receive this error
Hello! You don't define f in fn function. Are you want to return f = [fy, fy2]? In that case: function f = fn( x , yic ) dy ...

3년 초과 전 | 1

답변 있음
If condition is met, find next instance of a certain value.
Hello, If you have array with values that you need to find you can use that code: values_to_find = [226 226 225 221 226 226 2 ...

3년 초과 전 | 0

답변 있음
Can anyone help me solve this problem using Newton's Method?
Hello, try that i = 1; V0 = [1;0];%[x0;y0] V = V0 + 1; while max(abs(V0 - V)) > 1e-10 && i < 1e2 V = V0; J = [3*...

3년 초과 전 | 0

답변 있음
Double checking a for loop
Hello, sum(temp/intchl) -> sum(temp)/intchl means that you divide sum of all values by sum of mean values. Lets write it in det...

3년 초과 전 | 0

답변 있음
How to index for saving an output of a for loop for each loop?
Hello, try that I = 0.1:0.1:0.7; Saved = zeros(4,length(I)); for i = 1:length(I) 'Calculating somestuff here' 'Use...

3년 초과 전 | 0

| 수락됨

답변 있음
Signal generator from .m file to simulink
Hello, you can use From Workspace block with [t', q_di'] as Data parameter.

3년 초과 전 | 0

| 수락됨

질문


subsref works as not expected
Hello! Let's create random cell array. test = {1,2,3,4}; And try to evaluate simple code res_1 = ones(subsref(test, substruc...

거의 4년 전 | 답변 수: 1 | 0

1

답변

문제를 풀었습니다


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

대략 4년 전

문제를 풀었습니다


Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>

대략 4년 전

문제를 풀었습니다


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

대략 4년 전

문제를 풀었습니다


How to add?
* Imagine you are in 2222 Anno Domini, when everyone must learn how to add, * and competing for the highly prestigious post of,...

대략 4년 전

문제를 풀었습니다


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

대략 4년 전

문제를 풀었습니다


Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

대략 4년 전

문제를 풀었습니다


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

대략 4년 전

문제를 풀었습니다


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

대략 4년 전

문제를 풀었습니다


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. <http://en.wikipedia.org/wiki/Whole...

대략 4년 전

문제를 풀었습니다


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

대략 4년 전

문제를 풀었습니다


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

대략 4년 전

문제를 풀었습니다


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

대략 4년 전

더 보기