Question


What is the difference between the 'basis' and 'DiscountBasis' in Function 'bndtotalreturn'
bndtotalreturn is function in matlab Financial Toolbox . Two Input Arguments for bndtotalreturn is about Day-count . One is 'bas...

1 year ago | 1 answer | 0

1

answer

Question


Static methods are unnecessary, right?
I researched static methods and feel that static methods are non-essential in matlab.There would be no inconvenience if matlab d...

1 year ago | 2 answers | 0

2

answers

Question


With the exception of static methods, you must pass an object of the class explicitly to a MATLAB method?
Method Syntax said:“With the exception of static methods, you must pass an object of the class explicitly to a MATLAB method.” ...

1 year ago | 1 answer | 0

1

answer

Question


What is the difference between the userpath and the startup folder?
userpath Startup Folder I know how to config Startup Folder! I think it is very similar between the userpath and Startup Folde...

1 year ago | 1 answer | 0

1

answer

Question


several question about addlistener's input arguments
From this document 1、Are there two forms or three forms? two: el = addlistener(hSource,EventName,callback) el =...

1 year ago | 0 answers | 0

0

answers

Question


Why do the function must pass event.EventData object
From this document I found event.EventData object must be pass between notify and callbackFunction The document give an exampl...

1 year ago | 0 answers | 0

0

answers

Question


How to prove that a destructor must be defined for the Value classes
The book tell me that Handle classes has build-in Destructor function. On the other way Vlaue classes need user build Destructo...

1 year ago | 3 answers | 1

3

answers

Question


Why use 'try' ' catch' to handle exception
The teacher said that using exception testing can improve the robustness of the program. Clearly it is true. But there is a par...

1 year ago | 1 answer | 0

1

answer

Question


Is there any way to convert the matlab code into a flow chart
I saw a video,It seems to introduce how to convert the code into a flow chart in live script!It seems to a live script tools or ...

1 year ago | 2 answers | 0

2

answers

Question


Why classes need 'InferiorClasses' to determine which method to call when multiple classes have the same method
Document from here .I know how to use InferiorClasses.But I don't know why I need to use InferiorClasses? For example,there is ...

1 year ago | 1 answer | 1

1

answer

Question


How to monitor a variables that is outside of a function
This code . I type "aValue =SimpleHandle(10);" and then type "aValue. assignVar(20) ; %" The programe will run in classdef S...

1 year ago | 1 answer | 0

1

answer

Question


Why can use this function with only on input?
Form this document ,need”Google Web Translation“ there is two class AcListSuper AcListNonSub AcListSuper.m classdef AcListSu...

1 year ago | 1 answer | 0

1

answer

Question


We have table,Why we use timetable?
What is the difficience between the table and timetable? Timetable Documentation “timetable is a type of table that associates...

1 year ago | 1 answer | 0

1

answer

Question


Why create a 1-by-3 structure array with one field by this way?
code from deal S.a = []; S(2).a = []; S(3).a = []; S.a Is it better than this? S(3).a = [];

1 year ago | 2 answers | 0

2

answers

Question


datastore=detectImportOptions Pro Max?
I compared the functions of datastore and detectImportOptions. I feel that the datastore is more powerful. Almost all the functi...

1 year ago | 1 answer | 0

1

answer

Question


What is the difference between readall and read+hasdata?
I found that the functions of readall and read+hasdata seem to be exactly the same. read+hasdata is a loop body, is it less effi...

1 year ago | 1 answer | 0

1

answer

Question


请问matlab是否有“字符串数组”这种独立的数据类型?
matlab官方文档提供了“创建字符串数组”的代码(下方)。但是代码运行结果显示的是2x3的string。在本机matlab2020a中文版中运行同样的代码显示结果是str = 2x3 string 数组。而且在本机对str进行数据类型验证: class...

1 year ago | 0 answers | 0

0

answers

Question


How to calculate the date 0.25 years after the date of January 15, 2020
How to calculate the date 0.75 years after the date of January 15, 2020 take into account leap day! The years function support...

1 year ago | 6 answers | 0

6

answers

Question


How should I recover.m file of the function in the toolbox?
Mistakenly modified the .m file that came with MATLAB. How should I recover it? Why doesn't MATLAB make the .m file of the func...

1 year ago | 1 answer | 0

1

answer

Question


matlab创建函数为什么要用 “点”符号?
以下内容摘自matlab 官方文档:https://ww2.mathworks.cn/help/matlab/matlab_prog/creating-a-function-handle.html?searchHighlight=%E5%88%9B%E5%...

2 years ago | 0 answers | 0

0

answers