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

4 years ago | 1

| accepted

Question


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

4 years ago | 1 answer | 1

1

answer

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

4 years ago | 4

| accepted

Submitted


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

4 years ago | 2 downloads |

Question


`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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Answered
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 ago | 0

Question


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 ago | 1 answer | 0

1

answer

Solved


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

7 years ago

Solved


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 ago

Solved


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 ago

Solved


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

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

7 years ago

Solved


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 ago