photo

irosy


Last seen: 26 days ago Active since 2022

Followers: 0   Following: 0

Programming Languages:
MATLAB
Spoken Languages:
Japanese

Statistics

All
  • Solver
  • Thankful Level 2

View badges

Feeds

View by

Solved


Return area of square
Side of square=input=a Area=output=b

1 month ago

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

1 month ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

1 month ago

Solved


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

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

8 months ago

Question


アニメーションで動く図形の作成方法について
以前こちらで質問した内容の踏襲となります.添付の画像のような正方形とその重心からでてくる矢印で表したいのですが,教えていただいたプログラムですと円を4分割して正方形の形にはできたものの,正方形自身は回転しないため困っています.恐縮ですがどなたかご助言お願い...

1 year ago | 1 answer | 0

1

answer

Question


凡例の繰り返しにおける特殊文字(斜体)について
基本的な質問で失礼いたします. y=tanh(kx),kは定数で,これを変化させたグラフをを一つの図上にまとめようとしてこのようなコードを書きましたが,凡例のkのみを斜体にしようとしたのにもかかわらず,変数部分までも斜体になってしまいます. なにかいい...

1 year ago | 1 answer | 0

1

answer

Question


アニメーションの特殊なマークについて
データに(x,y,theta[rad])があるとして,xy平面上をある軌道に従って,進む様子をアニメーションにしたいと考えています.想定しているのは平行二輪車で,thetaは軌道の接線とx軸がなす角度です.今はこちらのリンク(https://jp.math...

1 year ago | 1 answer | 0

1

answer

Question


自作関数の入力引数不足エラーについて
こんにちは.MATLAB初心者です. あるモデルの相対距離,相対角度を入力値に対して求める関数を作ろうとしているのですが,どうも入力引数エラーが発生してしまい前に進めません. コードはこちらです. q1 = [0 0.5 0.5*pi]; %[x,y...

1 year ago | 1 answer | 0

1

answer