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

4 years 前 | 1

| 已接受

提问


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

4 years 前 | 1 个回答 | 1

1

个回答

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

4 years 前 | 4

| 已接受

已提交


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

4 years 前 | 2 次下载 |

提问


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

4 years 前 | 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...

5 years 前 | 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...

5 years 前 | 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...

6 years 前 | 1 个回答 | 0

1

个回答

已解决


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

7 years 前

已解决


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

7 years 前

已解决


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

7 years 前

已解决


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

7 years 前

已解决


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

7 years 前

已解决


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

7 years 前