Answered

劣決定系の最小二乗解で使われる計算方法

において、A が横長で行がフルランクの場合、つまり で の場合を考える際には、通常は最小 L2 ノルム解を返すと思います。 教科書などを読めば、必ずと言っても良いほど出てくる話ですが、 として解きます。これは Lagrange の未定乗数法...

劣決定系の最小二乗解で使われる計算方法

において、A が横長で行がフルランクの場合、つまり で の場合を考える際には、通常は最小 L2 ノルム解を返すと思います。 教科書などを読めば、必ずと言っても良いほど出てくる話ですが、 として解きます。これは Lagrange の未定乗数法...

3 months ago | 0

| accepted

Answered

How to create a double entry table ?

Is this something like this?: B = table({'Michael';'Beverly';'Alice'},... [64;69;67],... [119;163;133],... [122 ...

How to create a double entry table ?

Is this something like this?: B = table({'Michael';'Beverly';'Alice'},... [64;69;67],... [119;163;133],... [122 ...

3 months ago | 1

| accepted

Answered

subtitle command not working and no error

I gave it a try but it seems it is not working. Instaed, I found a similar question to yours and some solutions too here: https:...

subtitle command not working and no error

I gave it a try but it seems it is not working. Instaed, I found a similar question to yours and some solutions too here: https:...

3 months ago | 0

| accepted

Answered

Simultaneous lsqcurvefit for data set with shared parameters

Hope this helps you out: Problem-Based Optimization setup. This does not requires prior-knowlege on type of solver for your spec...

Simultaneous lsqcurvefit for data set with shared parameters

Hope this helps you out: Problem-Based Optimization setup. This does not requires prior-knowlege on type of solver for your spec...

3 months ago | 0

Answered

CSVファイルの行列変換

それぞれの csv ファイルは readtable か何かでMATLAB に読み込んでいただいて、それらの行列成分を結合すれば良い訳です。例えば: m1 = rand(5) m2 = rand(5) m3 = rand(5) m1 - m3 を行列...

CSVファイルの行列変換

それぞれの csv ファイルは readtable か何かでMATLAB に読み込んでいただいて、それらの行列成分を結合すれば良い訳です。例えば: m1 = rand(5) m2 = rand(5) m3 = rand(5) m1 - m3 を行列...

4 months ago | 0

| accepted

Answered

When using the Reinforcement learning Toolbox, can I calculate the mean and std of the datas in the experience buffer?

I haven't tried it before though, allExperiences seems to be the one you're seeking for. Hope this will help.

When using the Reinforcement learning Toolbox, can I calculate the mean and std of the datas in the experience buffer?

I haven't tried it before though, allExperiences seems to be the one you're seeking for. Hope this will help.

4 months ago | 0

| accepted

Answered

App Designer MATLAB: if-else condition not working

I found a solution for this. errordlg is not suitable for App Designer; you should use uialert instead. There is a small note a...

App Designer MATLAB: if-else condition not working

I found a solution for this. errordlg is not suitable for App Designer; you should use uialert instead. There is a small note a...

4 months ago | 0

| accepted

Answered

Do we need license for downloading Matlab runtime (r2022a (9.12) windows 64 bit)

No, you don't. It's free of charge.

Do we need license for downloading Matlab runtime (r2022a (9.12) windows 64 bit)

No, you don't. It's free of charge.

4 months ago | 0

Answered

Is there a way to show command shell in textarea of app designer?

Do the options defined in trainingOptions function, Verbose or Verbosefrequency help here?

Is there a way to show command shell in textarea of app designer?

Do the options defined in trainingOptions function, Verbose or Verbosefrequency help here?

4 months ago | 0

Answered

I have trouble understanding the command.

You should have a good understanding on eval by going through this. What it does here is that [esty, seout] = fun(tpar,tx); I...

I have trouble understanding the command.

You should have a good understanding on eval by going through this. What it does here is that [esty, seout] = fun(tpar,tx); I...

4 months ago | 0

| accepted

Answered

Which part is incorrect?

I would do this much more simply: mat = [1,1,0,0,0; 1,1,1,1,0; 1,0,0,0,0; 1,1,0,0,0; 1,1,1,1,1]...

Which part is incorrect?

I would do this much more simply: mat = [1,1,0,0,0; 1,1,1,1,0; 1,0,0,0,0; 1,1,0,0,0; 1,1,1,1,1]...

4 months ago | 0

Answered

App Designer MATLAB: if-else condition not working

What is the default value for app.StatebuttonButton.Value? Have you checked it in the first place? If it is "1", it always skip...

App Designer MATLAB: if-else condition not working

What is the default value for app.StatebuttonButton.Value? Have you checked it in the first place? If it is "1", it always skip...

4 months ago | 1

Answered

Why do I receive 'You must pass class labels as a vector.' error?

It said the y_train is not a vector. The argument should be any on of: categorical array, string array, character array, logica...

Why do I receive 'You must pass class labels as a vector.' error?

It said the y_train is not a vector. The argument should be any on of: categorical array, string array, character array, logica...

4 months ago | 0

Answered

Convert Column to Matrix

You can change the matrix by using these functions: reshape, flipud, circshift, rot90. You may want to check this site: https:/...

Convert Column to Matrix

You can change the matrix by using these functions: reshape, flipud, circshift, rot90. You may want to check this site: https:/...

4 months ago | 0

| accepted

Answered

Linear Fitting starting from a value

refline is the easiest way to achieve that. y = [100 90 80 70 50 45 40 43 42 40 35]; x = 0:10:10*(length(y)-1); plot(x,y,'o')...

Linear Fitting starting from a value

refline is the easiest way to achieve that. y = [100 90 80 70 50 45 40 43 42 40 35]; x = 0:10:10*(length(y)-1); plot(x,y,'o')...

4 months ago | 0

Answered

App Designer で2つのドロップダウンリストを連動したい

https://jp.mathworks.com/help/matlab/ref/matlab.ui.control.dropdown-properties.html このあたりをみて、プロパティを変えるように設定すれば、上手く行きそうな気がしますが。試...

App Designer で2つのドロップダウンリストを連動したい

https://jp.mathworks.com/help/matlab/ref/matlab.ui.control.dropdown-properties.html このあたりをみて、プロパティを変えるように設定すれば、上手く行きそうな気がしますが。試...

4 months ago | 1

Answered

Faster R-CNN学習時のエラーについて

https://jp.mathworks.com/matlabcentral/answers/372665-fastrcnn-out-of-memory こちらの回答が参考になるかと思います。

Faster R-CNN学習時のエラーについて

https://jp.mathworks.com/matlabcentral/answers/372665-fastrcnn-out-of-memory こちらの回答が参考になるかと思います。

4 months ago | 0

| accepted

Answered

I Just Paid over $200 to Reinstall my home version of Matlab, but it tells me my i can not install any new version of Matlab. If that is the case i need a refund on my money.

You should have a contact with the MathWorks office from which you made a purchace of your MATLAB. There are people responsible...

I Just Paid over $200 to Reinstall my home version of Matlab, but it tells me my i can not install any new version of Matlab. If that is the case i need a refund on my money.

You should have a contact with the MathWorks office from which you made a purchace of your MATLAB. There are people responsible...

4 months ago | 1

Answered

pathtool関数を機能させるにはどうしたらいいですか？

https://jp.mathworks.com/matlabcentral/answers/378779-why-do-i-get-undefined-function-or-variable-pathtool にた物がありました。再インストールが良い...

pathtool関数を機能させるにはどうしたらいいですか？

https://jp.mathworks.com/matlabcentral/answers/378779-why-do-i-get-undefined-function-or-variable-pathtool にた物がありました。再インストールが良い...

4 months ago | 0

| accepted

Answered

画像の代わりに2次元データを入力にして深層学習を行いたいのですが、どのように入力すればよいでしょうか？

画像のネットワークを利用して、trainNetwork 関数で学習する場合は cell が引数として適当では無いです。こちら から対応している型 (datastore等) を確認し、cell を変換すれば利用できると思います。 c = {[1 2;3 4...

画像の代わりに2次元データを入力にして深層学習を行いたいのですが、どのように入力すればよいでしょうか？

画像のネットワークを利用して、trainNetwork 関数で学習する場合は cell が引数として適当では無いです。こちら から対応している型 (datastore等) を確認し、cell を変換すれば利用できると思います。 c = {[1 2;3 4...

4 months ago | 1

| accepted

Answered

How to interpolate a set of data with the cubic method?

I would use Symbolic Math Toolbox to solve the problem analytically: x = [74 29 21 12 8 5.7 4.4 3.6 2.1 1.8 1.5 1.0 0.7]; y = ...

How to interpolate a set of data with the cubic method?

I would use Symbolic Math Toolbox to solve the problem analytically: x = [74 29 21 12 8 5.7 4.4 3.6 2.1 1.8 1.5 1.0 0.7]; y = ...

4 months ago | 0

| accepted

Answered

I'm new in using Matlab and I'm very confused of how I would solve a derivative problem. Here is the equations and problem

You are using the capabilities of Symbolic Math Toolbox and with this you can manupulate your equations symbolically. Let's def...

I'm new in using Matlab and I'm very confused of how I would solve a derivative problem. Here is the equations and problem

You are using the capabilities of Symbolic Math Toolbox and with this you can manupulate your equations symbolically. Let's def...

4 months ago | 0

| accepted

Answered

how to write a function for quadratic equation?

You can check the arguments before evaluating your statements this way: [x1,x2] = f(1,-2,1) [x1,x2] = f(0,-2,1) function [x...

how to write a function for quadratic equation?

You can check the arguments before evaluating your statements this way: [x1,x2] = f(1,-2,1) [x1,x2] = f(0,-2,1) function [x...

4 months ago | 0

Solved

Convert from Fahrenheit to Celsius

Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

4 months ago

Solved

Calculate Amount of Cake Frosting

Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

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

4 months ago

Answered

Best Variable Type to Store and Plot Multiple Images Obtained with Regularized Filtering

When the images you are storing in a variable are consistent size-wise, a standard array is good enough. Imagine that your imag...

Best Variable Type to Store and Plot Multiple Images Obtained with Regularized Filtering

When the images you are storing in a variable are consistent size-wise, a standard array is good enough. Imagine that your imag...

5 months ago | 0

Answered

What is the architectural difference between using `feedforwardnet` and `fitcnet`?

feedforwardnet is for regression problems whereas fitcnet is for classification problems.

What is the architectural difference between using `feedforwardnet` and `fitcnet`?

feedforwardnet is for regression problems whereas fitcnet is for classification problems.

5 months ago | 0

| accepted

Answered

extract numbers from a string.

You can use pattern: pat = digitsPattern(4); % Pattern str = '"sensor_serials": {"H1": "3637", "H2": "3638", "H3": "2787"}' ...

extract numbers from a string.

You can use pattern: pat = digitsPattern(4); % Pattern str = '"sensor_serials": {"H1": "3637", "H2": "3638", "H3": "2787"}' ...

5 months ago | 1

Answered

How to remove a slash from fullfile?

How about this? wtf= fullfile('C:\\','Users','jessi','Desktop','HydrusMC','Simulations',("MC_"+num2str(1)),'Obs_Node.out')

How to remove a slash from fullfile?

How about this? wtf= fullfile('C:\\','Users','jessi','Desktop','HydrusMC','Simulations',("MC_"+num2str(1)),'Obs_Node.out')

5 months ago | 1