Community Profile


Shota Kato

Last seen: 9 días ago
9 total contributions since 2018

2019.4~ Ph.D student


Shota Kato's Badges

  • Knowledgeable Level 1
  • 3 Month Streak
  • Solver
  • First Answer
  • Revival Level 1

View details...

Contributions in
View by


Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

6 meses ago


Add two numbers
Given a and b, return the sum a+b in c.

6 meses ago


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

6 meses ago


How to determine initial condition of PID control?
I want to do a PID control simulation considering the past input and output. I know the initial condition of the PID controller...

7 meses ago | 0 answers | 0



How to Import RegressionGP model to Simulink
Hi, I had the same problem. You can solve the problem by using "saveCompactModel" and "loadCompactModel". Given the trained mo...

7 meses ago | 1

| accepted

Dividing the values of a vector
q can be calculated as follows q = p(1,:) ./ p(2,:) or q(:,k) = p(1,k) / p(2,k) Then, you can plot q against r.

8 meses ago | 0

(13.1^2-b^2 15.2^2 30^2)/(2*13.1*15.2)=1.461
syms b fun = (13.1^2 - b^2 * 15.2^2 * 30^2 ) / (2*13.1*15.2)==1.461; ans = solve(fun) ans = -(25638665^(1/2)*1i)/114000 ...

8 meses ago | 0

左辺のサイズが 1x1 で右辺のサイズが 0x1 であるため、代入を実行できません。
右辺のサイズが 0x1 であるというエラーメッセージの意味は,vpasolveによって解が求まっていない,ということです. vpasolveのドキュメント (

9 meses ago | 3

Simulink failed assertion: object[id] != NULL
I had the same problem but could solve the problem by reworking "MATLAB Funciton" used in a Simulink model. I checked the "MA...

casi 2 años ago | 1