Community Profile

# Yoshi Minagawa

Last seen: 9 days ago Active since 2021

All

#### Content Feed

View by

Solved

Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x&#8321;_ + _x&#8322;_ = 2 _x&#8321;...

1 year ago

Solved

Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

1 year ago

Solved

Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

1 year ago

Solved

Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

1 year ago

Solved

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

1 year ago

how to add rising edge clk like this in stateflow?
Hi Le, You can add the rising edge port on chart block as below. 1. Set "input event" to the variable type 2. Open "Proper...

1 year ago | 0

How to adapt a Field Weakening control in the simulink model in a PMSM system?
Hi Varun, Maybe the sample model shown below is useful for you. In the Simscape Electrical library, there is "PMSM Field-Weaken...

1 year ago | 0

Is there any simple PI controller for Id and Iq current for current control of PMSM motor
Hi Varun, How about the sample model below. It is not so simple model but you can see how to use "Current Controller Block" and...

1 year ago | 0

Error when using spice model for MOSFET for Basic Buck w/ PI control
Hi Christine, When this error occurs, it maybe is valid to enable the filter of Simulink-PS Converter block. By enabling the fi...

1 year ago | 0

| accepted

Hi LightFury, They are the blocks for electrical modeling but different domain blocks, that why you can't connent them directry...

1 year ago | 2

| accepted

raspberrypi_modbus_masterのモデルをコマンドで起動しようとしてもエラーが出てしまう

1 year ago | 0

| accepted

AK様 ご質問頂きありがとうございます． ハードウェアとの接続が正しく確立できていない可能性があります．下記の図を参考に正しいIPアドレスが設定されていることなどをご確認頂けますでしょうか． また、シミュレーション実行ボタンではなく、「監視と調整...

1 year ago | 0

What environment temperature should I collect the step response data under?thanks.
Hi Shawn, I understood that this problem is changing plant dynamics due to plant's temperature and it makes the control difficu...

1 year ago | 0

Simulink vs Stateflow application for sensor
Hi Hidd, Using Stateflow, you can make Sequence control very easily. (for example, schedulers, fault management systems, and su...

1 year ago | 0

| accepted

Integration step Issue in Simulink execution
Hi Hugh, Your simulink model might be stiff-model. The stiff model is a difficult model to simulate and the calculation speed o...

1 year ago | 0

How to split a line in Simulink?
Hi Moritz, I don't know how to delete only the part of the signal line as you mentioned. But you can do the similar thing by th...

1 year ago | 0

How to change evaluation time of a Matlab Function in Simulink
Hi Fernando, Although I didn't see your model and so I couldn't find the reason of the problem, I described the tips for this p...

1 year ago | 0

How Can I add feedbacks on control inverted pendulum with LQR?
Hi Oguzhan, The value actually measured and obtained corresponds to Y. Therefore, if you get position and velocity values of th...

1 year ago | 0

How to use stateflow inside a simulink closed loop?
Hi Moritz, I understood that your question is about the cause of the difference output between the two logics in attached model...

1 year ago | 1

| accepted

The linearization input/output port specification of the 'statespace_compensation/Bode Plot' block resulted in linear system with a value of zero.
Hi Vasilica, The main reason of this warning is that this model has discontinuous non-linearity. In making not only bode-plot b...

1 year ago | 0

Model a Torque converter from fundamental equations using standard simulink blocks
Hi Aditya, I think the demo model of "sf_car" will be helpful. (Please enter "sf_car" in the command window.) There is a torque...

1 year ago | 0

| accepted

Does anyone know how to fix this?
Hi Tony, It seems that different data from expectedis appeared during "first step" in simulation. (Models that do not require c...

1 year ago | 0

How to build a delta-connected PMSM simulink model or what's the output of PM Synchronous Motor mean 'R' 'C'?
Hello 英奇, Thank you for your asking. First, you should convert R and L in the delta connection to the those in the Y connect...

1 year ago | 0

regenerate braking of bldc motor
Hello Muhammad, Thank you for asking. For modeling regenerative braking circuit for BLDC motor, the following link (sample ...

1 year ago | 0

May I know how to solve this error in Simulink?

1 year ago | 0

エラー表示どおりであれば、simulinkモデル名がMATLABで使用できる命名規則に準じてないことが原因かもしれません． MATLABでは変数名は下記のルールに準じる必要があります 1 ～ 63 文字以内 アルファベット、数値、及びアンダースコアの...

1 year ago | 0

| accepted

Spectrum Analyzer sample rate.
Hello Paul, Please check the signal type of inport signal connected to Spectrum Analyzer Block. It must be a discrete signal. I...

1 year ago | 0

Problem with control of IPMSM
Hello Meikel, Thank you for the question. I checked your model. I didn't understand whole of this model, but I found a part th...

1 year ago | 1

ブラシレスモーターを発電機として利用するシミュレーションはできるか
はい、可能です． ご参考に、簡単な例としてBLDCモーターと三相整流器を用いた電力回生のモデルを作成してみました． モデル右側より、Ideal Angular Velocity Sourceブロックを用いてBLDCモーターを1000rpmで回転する...

1 year ago | 0

| accepted