回答済み
2直線の交点
「2直線の交点」とウェブで検索すると公式が結構出てきますよ。 MATLAB のコマンドを使うというより数学的に解くのが良いかなと思います。こんな感じでしょうか。 既知:k1, x1, y1, k2, x2, y2 y1 = k1*x1...

9年弱 前 | 2

公開済み


QR Code Encoder/Decoder
Jiro‘s pick this week is QR Code encode and decode by Lior Shapira.On October 31, we held our biggest annual event of the...

9年弱 前

Thumbnail

回答済み
設定点数が少ないのに平滑なマップ
<https://www.mathworks.com/help/simulink/slref/1dlookuptable.html 1-D Lookup Table> を使って内挿法を3次スプラインとするのは如何でしょうか。 <</matlabcen...

9年弱 前 | 1

| 採用済み

公開済み


Easy design iteration sweeps for Simulink models
Greg’s pick this week is STOICAL by Reinhold. Simulink is well suited for laying out block diagrams of system simulations....

9年弱 前

Thumbnail

公開済み


Mex Multithreading
Sean‘s pick this week is Mex Multithreading by Dirk-Jan Kroon. My pick this week is an example of how to write...

約9年 前

Thumbnail

公開済み


Labeling Data Points
Jiro‘s pick this week is labelpoints by Adam Danz.This week’s entry caught my attention for two reasons. One is that this...

約9年 前

Thumbnail

回答済み
fscanfを用いた行列ファイルデータの読み取りについて
データ(数値)だけの区切りファイルなのでしたら |fopen|、 |fscanf| を使わずに |dlmread| などで読み込めます。例えば、このようなテキスト ファイルがあるとします。 1 2 3 4 5 6 7 8 |fopen...

約9年 前 | 2

| 採用済み

公開済み


MockObject
Sean‘s pick this week is Mock Object by Paul Sexton. Paul has provided a mock object that is useful for mocking...

約9年 前

Thumbnail

公開済み


New Deep Learning Blog
Our colleague and long time blogger Steve Eddins recently started a second blog on Deep Learning.  If you are interested in...

約9年 前

Thumbnail

公開済み


MATLAB Basemap Data (R2017b)
Jiro‘s pick this week is MATLAB Basemap Data by MathWorks Mapping Team.In the new R2017b release, there is a new interactive...

約9年 前

Thumbnail

公開済み


Membrane Logo Zoetrope
Sean‘s pick this week is the MathWorks Logo Zoetrope by Ned Gulley. This week I urge you to check out the blog post on the...

約9年 前

Thumbnail

回答済み
入れ子関数での反復計算、ループのさせ方
入れ子関数とはこのようなものですが <https://jp.mathworks.com/help/matlab/matlab_prog/nested-functions.html 入れ子関数> そのことについて聞かれているのでしょうか?上のコー...

約9年 前 | 1

| 採用済み

回答済み
選択した画像の表示
セル配列 |mydata| に複数の画像データが入っているので、通常のインデックスでそれぞれ取り出せます。 1つ目の画像: |mydata{1}| つまり、1つ目の画像を表示したい場合は imshow(mydata{1})

約9年 前 | 2

公開済み


Cursorbar
Sean‘s pick this week is Cursorbar by Marjorie. I really like both Simulink Data Inspector and the new Signal Analyzer App...

約9年 前

Thumbnail

回答済み
functionの書き方について
実行された時のエラーメッセージを見てみてください。 おそらく、存在しない変数 |img| があります、みたいなエラーメッセージだと思います。関数を見てみると 2 行目で |clear| を実行してます。せっかく関数に入ってきた変数 |img| がクリ...

約9年 前 | 4

| 採用済み

公開済み


Reading the last N lines from a CSV file
Jiro‘s pick this week is csvreadtail by Mike.Recently, I’ve been working on customer projects around improving the...

約9年 前

Thumbnail

公開済み


Summing and Multiplying NaNs: Use cases???
Contents nancumsum() , nancumprod() My Questions For your consideration nancumsum() , nancumprod() This week, instead of...

約9年 前

Thumbnail

公開済み


Stateflow sliding mode controller demo
Will‘s pick this week is Stateflow sliding mode controller demo by Bogumila &amp; Zbigniew Mrozek. I always enjoy a good...

約9年 前

Thumbnail

回答済み
InputParser - problem with keepUnmatched
The KeepUnmatched property is for optional parameter-value inputs, not for the required inputs. As Walter mentioned, for this to...

約9年 前 | 0

回答済み
How can i get matlab R2007b 64Bit compilers
If you are on a 64-bit machine, MATLAB Compiler will create a 64-bit *.dll. So install MATLAB (+ MATLAB Compiler) on a 64-bit ma...

約9年 前 | 0

回答済み
Readtable extremely slow when excel file has formatting
Have you tried setting the <https://www.mathworks.com/help/matlab/ref/readtable.html#input_argument_d0e847323 "basic" property> ...

約9年 前 | 2

公開済み


Trace your calls (to your methods)
Jiro‘s pick this week is tracer4m by per isakson.I teach a training course on “Object-Oriented Programming (OOP) with...

約9年 前

Thumbnail

回答済み
dlmwrite関数で列ベクトルをテキスト出力する際、列サイズが大きいと途中で改行されてしまう。
出力された txt ファイルをどのように確認してますか?Windowsのメモ帳だと恐らく表示する幅に限度があるみたいです。 <</matlabcentral/answers/uploaded_files/85140/notepad.png>> ...

約9年 前 | 0

回答済み
arrayfun() mistakes a vector optimization parameter for a scalar optimization parameter
Isnt't it because you are passing in "1" (scalar) as the initial guess to |fminsearch|? Perhaps you can pass in a 1x413 vector o...

約9年 前 | 0

公開済み


Impressionism
Sean‘s pick this week is impressionism by David Mills. My pick this week is a fun one that takes your images and transforms...

約9年 前

Thumbnail

回答済み
How to extract image pixel region by image index value ?
im_region = im(id1:id2,id3:id4);

約9年 前 | 0

回答済み
x軸の値を表記転換するには?
新しい質問に対して回答します。 1. データ番号を100(正確には101 : MATLAB は1から数えるため)から15刻みで表記。 |plot| コマンドの前にx軸となるベクトルを定義すればできます。 % まず 0 ~ 511 まで...

約9年 前 | 2

| 採用済み

解決済み


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

約9年 前

解決済み


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

約9年 前

回答済み
Manipulating strings defined with the new double quote option
Read up on the documentation on "strings". <https://www.mathworks.com/help/matlab/matlab_prog/create-string-arrays.html Creat...

約9年 前 | 7

さらに読み込む