Community Profile

photo

stozaki

Con actividad desde 2019

DISCLAIMER: Any advice or opinions posted here are my own, and in no way reflect that of MathWorks.

Programming Languages:
MATLAB
Spoken Languages:
Japanese

Statistics

All
  • Treasure Hunt Participant
  • 6 Month Streak
  • MATLAB Central Treasure Hunt Finisher
  • First Submission
  • GitHub Submissions Level 1
  • Knowledgeable Level 4
  • Speed Demon
  • Creator
  • First Review
  • Revival Level 3
  • Solver
  • First Answer

Ver insignias

Content Feed

Ver por

Resuelto


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

15 días hace

Resuelto


ベクトルの値が増加しているかを調べよう
ベクトルの値が増加している場合 (ベクトルの各要素が前の要素よりも大きい場合) には true を、そうでない場合には false を返すようなコードを書いてみましょう。 例: 入力が x = [-3 0 7] のとき、 関数の...

15 días hace

Respondida
Add multiple libraries together as an overall library in the Simulink Browser
The following page describes how to register sublibraries. I created a dummy sublibrary and attached it here. Add Libraries to ...

4 meses hace | 1

Respondida
How can I solve dimension problem? Simulink
The Logical operands input of the If block must be a scalar signal. It's a block specification. Also, the output of the If bloc...

10 meses hace | 0

| aceptada

Respondida
At high frequency repeating sequence block output is not as intended
I was able to generate a sawtooth waveform using the "Repeating sequence block". Check the solver type and fixed step values fo...

12 meses hace | 0

Respondida
why mux block is available in Matlab because same work we can do in bus block. bus block accept same & different datatypes but mux only accept same datatypes.
As its specification, the Mux block combines scalar or vector signals of the same data type into a vector signal. Please read t...

12 meses hace | 0

| aceptada

Respondida
Simulink File Comparison Custom Filters
You can get the diff of the model by using the visdiff function. At that time, you can exclude Model Info from the difference r...

12 meses hace | 0

Resuelto


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

12 meses hace

Resuelto


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

12 meses hace

Resuelto


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

12 meses hace

Respondida
ROS Simulink algebraic loop
see Dependencies section. Single output/update function

alrededor de 1 año hace | 1

Respondida
how to create simulink in matlab 2019b?
In R2016a and later versions, launch the Simulink start page before creating the model file. Build and Edit a Model Interactive...

alrededor de 1 año hace | 0

Respondida
blocks simulink for synchronous machine
It is Bistable.

alrededor de 1 año hace | 0

| aceptada

Respondida
Search for a parameter in a mask programatically
Try the following command: ret = find_system (bdroot (gcs),'BlockType','SubSystem','MaskValueString','sensif_p_IMU_lat_sign') ...

alrededor de 1 año hace | 1

| aceptada

Resuelto


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

más de 1 año hace

Respondida
Simulink Transport Delay Block parameters error
Ogawaさま こんにちは。問題解決されたでしょうか? Simulink起動プログラムとおっしゃられているのは、PreLoadFcnのことでしょうか? 各々のパラメータ値が定義されていないからではないでしょうか? PreLoadFcnに関す...

más de 1 año hace | 0

Respondida
How to obtain a Matrix as output from a 3-D LookUpTables?
Hi, How about using the reshape block to convert 1x784 to 28x28? reshape

más de 1 año hace | 0

| aceptada

Respondida
Bug: Unable to set PI initial condition data type by value
Hi, This warning is normal behavior. Not a bug. This is because the configuration parameter "UnderSpecifiedDataTypeMsg" is s...

más de 1 año hace | 0

Respondida
Is rsqrt the same as Fast inverse square root?
Hi, The Simulink sqrt block supports rsqrt. The algorithm is Newton-Raphson, so it can be considered the same as the one des...

más de 1 año hace | 0

| aceptada

Respondida
Find average of an array for values > 0
Hi, What about the following processing? data = [1 2 10 -38 -7 2 8 10 -5 1 0 -5 37]; % example data idx = find(data > 0);...

más de 1 año hace | 0

Respondida
How to refresh selected model block via command line? (not the Ctrl+K function)
Hello, You can update the model block by using the following function. Simulink.ModelReference.refresh Simulink.ModelRefe...

más de 1 año hace | 1

Respondida
Fixed point to floating-point conversion with Fixed-Point Tool
The Fixed-point tool is used to convert from floating point to fixed point. Therefore, you do not need to use the Fixed-point to...

más de 1 año hace | 0

Respondida
How do I search a Simulink model for a string in all element properties?
Hi, Are you effective the following command? s = 'SearchString'; sys = gcs; ret = unique(find_system(sys,'BlockDialogParams'...

más de 1 año hace | 0

| aceptada

Respondida
How can I make a JK Flip-Flop with clear and preset?
Hello, J-K Flip Flop is included in Simulink Extras. You can use it. J-K Flip-Flop

más de 1 año hace | 0

| aceptada

Respondida
Stateflowの状態遷移表のGUI以外の操作方法
大貫様 Statelofo APIを使うことで、Stateflowエディタ(GUI上のマウス操作)を使わずに、Stateflow状態遷移図を記述することはできます。 ただし、通常マウスで操作しているので気にならないステートや遷移線の配置ですが、St...

más de 1 año hace | 2

| aceptada

Respondida
cell配列内のサイズを求めたいです.
池田様 こんにちは。配列のサイズを求めるには、size関数が使えると思います。 ただし、今回は1x1のcellに5x1の配列を入れているので、次のようになると思います。 A={[1;2;3;4;5]} s = size(cell2mat(A),1)...

más de 1 año hace | 0

Respondida
How to determine source block of an input port in Simulink?
Hi, 1. Get the port handle of the target block. (in this example, MATLAB Funciton) 2. Get the line handle of the connected s...

más de 1 año hace | 1

Respondida
How to make a={'1','2','3','4'} to b={'1234'}
Hi, a = {'1','2','3','4'}; b = cellstr(replace(strjoin(a),' ','')) cellstr replace strjoin

más de 1 año hace | 1

Respondida
Turn of slider switch automatically
Hi, The Slider Switch button does not automatically switch ON / OFF. A user switches ON / OFF with a mouse click. Therefore,...

más de 1 año hace | 0

Respondida
How to compare a value over time in Simulink
Hi Trevor, The processing you want to perform is not in the Simulink standard block. So I modeled the function you want to dete...

más de 1 año hace | 1

| aceptada

Cargar más