Question


ラグランジュの未定乗数法
ラグランジュの未定乗数法による極値の導出におけるサンプルプログラムありますか?

6 years ago | 1 answer | 0

1

answer

Answered
MATLAB mobileとライセンスについて
Free 版であれば、機能は制限されますが、 マスワークスアカウント作成すれば利用できます。 SNS有効版と比較して、制限される事項として、 MATLAB 本体のみが利用可能(Toolbox不可)、 センサデータ取得の機能は使用不可

6 years ago | 2

Answered
変数X を作成するコマンドを作りたい
有効桁数を5桁にする場合、 ['X = [' num2str(X,'% .5g'),']']

6 years ago | 0

| accepted

Question


変数X を作成するコマンドを作りたい
横ベクトルの長いデータXが合って、そのデータXを作るコマンドを作成したい。

6 years ago | 1 answer | 0

1

answer

Solved


Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

6 years ago

Solved


Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

6 years ago

Solved


Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

6 years ago

Solved


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

6 years ago

Solved


NaN (欠損値) が含まれている行を削除しよう
行列 A が与えられたとき、その行列の中に NaN (Not a number; 欠損値) の要素がある行を見つけ出し、その行を削除しましょう。 例: A = [ 1 5 8 -3 NaN 14 ...

6 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

6 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

6 years 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 ...

6 years ago

Answered
Arduino(Due) でSimulink内でCAN通信を行う方法
Vehicle Network Toolbox入れても通信できません。 ただ、mcp2515を使って、SPI経由で取り込むことは可能な様です。(これも、Vehicle Network Toolboxは不要です) <https://jp.math...

6 years ago | 1

| accepted

Answered
薬剤の有効性に関与する遺伝子多型の検出
通常のSNP 解析は、ご存知だと思いますが、一つのツールで完結することはできないので、 様々なツールと組み合わせて、解析する必要があります。 MATLABで出来ることは、統計処理など限られた範囲になります。 NGSを使うという前提であ...

6 years ago | 1

| accepted

Answered
ラズベリーパイとアルディーノのI2C通信
とりあえす、 TimeOut の設定を、長く取ってみてください。デフォルトは10sだと思います。 i2csensor.TimeOut = 60*60;

6 years ago | 2

Answered
File Exchange にある、MQTT in MATLAB を活用して、ThingSpeak のデータを取得する方法を教えてください。
サンプル例です。CH 12397 のWeather Station のデータを取得します。 コードの1行目については、 ThingSpeak のページで、[Account]-[My Profile]から、[MQTT API Key]を作成します...

6 years ago | 0

| accepted

Answered
simulinkの計算結果を他のシミュレーションツールに入力するにはどうしたらよいですか
他のシミュレーションツールは何ですか?

6 years ago | 1

Answered
SimukinkでCAN通信を取り扱えるか
Vehicle Network Toolbox は、MATLAB/Simulink 上で、CANプロトコルの信号の送受信するのに必要です。 Arduino の CAN Bus シールドを使って、データを読み取りするためのプログラムを作りたい場合は、 ...

6 years ago | 3

Answered
サポートの中のサンプルプログラムについて
このサンプル例は、NI 社のCompactDAQ と呼ばれる、複数のボードを刺すことのできるのを想定したものです。 s = daq.createSession('ni') でどのように結果が出ていますでしょうか?

6 years ago | 1

| accepted

Answered
学生のライセンスとしてMATLABのR2017bをインストールしたが起動できない.なにか設定しないといけないのですか?
インストールの件なので、 大変お手数をお掛けいたしますが、以下のリンクからご質問ください。 <https://jp.mathworks.com/support/contact_us/?s_tid=sp_ban_cs>

6 years ago | 0

Channel


bit 表示

6 years ago

Channel


garbage box

6 years ago

Channel


aaa

6 years ago

Submitted


orthogonalarray( L_name,varargin)
orthogonal arrays (Taguchi Design)

6 years ago | 2 downloads |

Answered
2つの曲線で囲まれた面積を求めるプログラムの一例を教えてください。
コードの一例ですが、Symbolic Math Toolbox を使います。 syms x y1 = (x^2) + 1 y2 = x + 7 y = y2 -y1 xx = roots(sym2poly(y)) S...

7 years ago | 0

| accepted

Question


2つの曲線で囲まれた面積を求めるプログラムの一例を教えてください。
例えば、 y = x^2 + 1 y = x + 7 との間に囲まれた面積は、どのようにプログラムしますか?

7 years ago | 1 answer | 0

1

answer

Answered
Unix 時間 をMATLABで扱うことができますか?
datetime 関数で扱うことができます。 dateType プロパティを 'posixtime' に変更します。 https://jp.mathworks.com/help/matlab/ref/datetime.html 例 ...

7 years ago | 0

| accepted

Question


Unix 時間 をMATLABで扱うことができますか?
R2017a で、UNIX 時間を 時間変換できますか?

7 years ago | 1 answer | 0

1

answer

Channel


Tenki Forecast
Weather data from WOM .

7 years ago

Answered
ode45関数で実行したら、警告が出て途中で終了してしまいます。
まずソルバーを替えます。 ode45 から、ode15s に変更する(スティッフ ソルバーに) >> [t,y] = ode15s(@odefcn,[0 10],[0; 10]) それで、解決しない場合は、ソルバーの許容誤差の設定を緩める...

7 years ago | 2

| accepted

Load more