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

oltre 4 anni fa | 1

| accettato

Domanda


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

oltre 4 anni fa | 1 risposta | 1

1

risposta

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

oltre 4 anni fa | 4

| accettato

Inviato


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

oltre 4 anni fa | 3 download |

Domanda


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

circa 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 5 anni fa | 1 risposta | 0

1

risposta

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

oltre 6 anni fa | 0

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Risolto


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

quasi 8 anni fa

Risolto


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

quasi 8 anni fa

Risolto


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

quasi 8 anni fa

Risolto


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

quasi 8 anni fa

Risolto


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

quasi 8 anni fa

Risolto


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

quasi 8 anni fa