回答済み
インスタンスメソッドの第2出力をcellfunで取得する方法
次のコードを書くと解決します。 function out = out2(fun, varargin) % gets the second output argument of anonymous function fun [~,out] = f...

5年以上 前 | 1

| 採用済み

質問


インスタンスメソッドの第2出力をcellfunで取得する方法
あるクラス SomeClass のインスタンスメソッドが2つ変数を返すときに、cellに SomeClass のインスタンスを初期化して保存しておいて、cellfunでまとめて実行する方法はありますか? 以下のようなコードを書いています。 X; %...

5年以上 前 | 1 件の回答 | 1

1

回答

回答済み
複数のCSVファイルをfor文を用いてreadmatrixで読み込む
dirを使うとarrayが返されます。 arrayは括弧で番号付けされるので、 list( 1 ) などと書くと要素が取り出せます。list(1)などは構造体を持っているので、 .name あるいは .folder を駆使してファイルまでのパスを...

5年以上 前 | 4

| 採用済み

送信済み


Matlab Machine Learning
sklearn counterpart in matlab language to facilitate coding of machine learning.

6年弱 前 | ダウンロード 1 件 |

5.0 / 5

質問


`libraryCompiler` view does not show the option of '.NET Assembly'
I hope somebody helps me quickly... As the below figure shows, my Matlab compiler does not recognize .NET Assembly, though my...

6年以上 前 | 1 件の回答 | 0

1

回答

質問


What is the fastest way to compute the first eigenvector?
I'd like to know a way to compute the first eigenvector (the eigenvector with the largest eigenvalue) of a matrix A. Now I am us...

6年以上 前 | 1 件の回答 | 0

1

回答

回答済み
Write protection on license deactivation
I know that the question raised in the past, but let me share my measure; if you are on Windows, you can launch matlab as admini...

7年以上 前 | 0

質問


MATLAB:InputParser:ArgumentFailedValidation
I've attempted to develop an .exe software from .m file. I want the software to have `logical` input; however, .exe file that...

7年以上 前 | 1 件の回答 | 0

1

回答

解決済み


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

約9年 前

解決済み


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

約9年 前

解決済み


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

約9年 前

解決済み


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

約9年 前

解決済み


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

約9年 前

解決済み


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

約9年 前