답변 있음

how can I get the displayed text of a hyperlink converted to a string?

A hyperlink which is displayed is only part of a html command. For instance the following makes a link to the MathWorks website ...

how can I get the displayed text of a hyperlink converted to a string?

A hyperlink which is displayed is only part of a html command. For instance the following makes a link to the MathWorks website ...

5년 이상 전 | 0

| 수락됨

답변 있음

i can't find information on the keywords for trader toolbox.

This is all on the interactive broker website. In the <http://www.mathworks.com/help/releases/R2016a/trading/ibtws.createorder.h...

i can't find information on the keywords for trader toolbox.

This is all on the interactive broker website. In the <http://www.mathworks.com/help/releases/R2016a/trading/ibtws.createorder.h...

5년 이상 전 | 1

| 수락됨

답변 있음

Is there a work around to use gamultiobj with linear constraints and binary variables?

I was thinking if the problem was not too large we could directly compute all 2^n possibilities. Obviously this is not something...

Is there a work around to use gamultiobj with linear constraints and binary variables?

I was thinking if the problem was not too large we could directly compute all 2^n possibilities. Obviously this is not something...

5년 이상 전 | 2

| 수락됨

답변 있음

Use "fill" in a datetime/value plot to color the background

You can use the fill function to achieve this. To do so, first generate the data: t = datetime(2014,6,28) + caldays(1:10); ...

Use "fill" in a datetime/value plot to color the background

You can use the fill function to achieve this. To do so, first generate the data: t = datetime(2014,6,28) + caldays(1:10); ...

5년 이상 전 | 1

| 수락됨

답변 있음

plotting datenums to compare data across years

You are mixing functionality for |datenums| ( |datetick| ) with |datetimes| so this is why you get the re-scaling you mention. ...

plotting datenums to compare data across years

You are mixing functionality for |datenums| ( |datetick| ) with |datetimes| so this is why you get the re-scaling you mention. ...

5년 이상 전 | 0

답변 있음

Reference to non-existent field error when showing database data to editbox in gui matlab

You have no field called 'in' contained in the data cursor returned by fetch. You probably want to look into the 'Data' property...

Reference to non-existent field error when showing database data to editbox in gui matlab

You have no field called 'in' contained in the data cursor returned by fetch. You probably want to look into the 'Data' property...

5년 이상 전 | 0

답변 있음

What is box constraint in svmtrain fucntion ?

The basic idea is that when the data is not perfectly separable, the training algorithm must allow some mis-classification in th...

What is box constraint in svmtrain fucntion ?

The basic idea is that when the data is not perfectly separable, the training algorithm must allow some mis-classification in th...

5년 이상 전 | 4

| 수락됨

답변 있음

Replacing NaN with its succeeding values

This is simply a 1-dimensional interpolation using the next method with extrapolation: A=[NaN NaN 1 1 0 0 NaN 0 NaN 1 1] ...

Replacing NaN with its succeeding values

This is simply a 1-dimensional interpolation using the next method with extrapolation: A=[NaN NaN 1 1 0 0 NaN 0 NaN 1 1] ...

5년 이상 전 | 1

| 수락됨

답변 있음

problem in using copulafit

This is a maximum likelihood estimate given a sample so there will always be some uncertainty in the answer. In your case you ar...

problem in using copulafit

This is a maximum likelihood estimate given a sample so there will always be some uncertainty in the answer. In your case you ar...

5년 이상 전 | 0

| 수락됨

답변 있음

Logistic Regression not display all data like R

Your issue is that in R these variables are interpreted as categorical whereas in MATLAB they are being interpreted as continuou...

Logistic Regression not display all data like R

Your issue is that in R these variables are interpreted as categorical whereas in MATLAB they are being interpreted as continuou...

5년 이상 전 | 1

| 수락됨

답변 있음

How to create a loop that runs a function through subfolders in a directory?

You can get the sub-directories using dir: D = dir; % A is a struct ... first elements are '.' and '..' used for navigation...

How to create a loop that runs a function through subfolders in a directory?

You can get the sub-directories using dir: D = dir; % A is a struct ... first elements are '.' and '..' used for navigation...

5년 이상 전 | 2

| 수락됨

답변 있음

Counting average on huge matrix with conditional

It seems this is likely what you are looking for then: function [meanNV]=calcMeanNV_k(A,V,d) %A: input matrix (n x n) ...

Counting average on huge matrix with conditional

It seems this is likely what you are looking for then: function [meanNV]=calcMeanNV_k(A,V,d) %A: input matrix (n x n) ...

5년 이상 전 | 0

| 수락됨

답변 있음

Efficient method of summing the values in multiple images on GPU?

I don't have a machine with the GPU capabilities with me right now, but I think this should work: sums = pagefun(@(x) sum(x...

Efficient method of summing the values in multiple images on GPU?

I don't have a machine with the GPU capabilities with me right now, but I think this should work: sums = pagefun(@(x) sum(x...

5년 이상 전 | 1

| 수락됨

답변 있음

Remove Scientific Notations in Plotyy

Which version of MATLAB are you using? If it is 2016a or later we recommend using <http://www.mathworks.com/help/releases/R2016a...

Remove Scientific Notations in Plotyy

Which version of MATLAB are you using? If it is 2016a or later we recommend using <http://www.mathworks.com/help/releases/R2016a...

5년 이상 전 | 0

| 수락됨

답변 있음

Generate matrix of a random process with each row using different parameters and no for-loop

You can use arrayfun for this: mu = [0, 3, 2, 5, 1]; sigma = [1, 5, 4, 10, 7]; A = arrayfun(@(x,y) random('norm', x, ...

Generate matrix of a random process with each row using different parameters and no for-loop

You can use arrayfun for this: mu = [0, 3, 2, 5, 1]; sigma = [1, 5, 4, 10, 7]; A = arrayfun(@(x,y) random('norm', x, ...

5년 이상 전 | 0

| 수락됨

답변 있음

non linear minimization problem

This would be an instance of a linear problem (i.e. it is linear in the coefficients a, b and c). Therefore you would want to us...

non linear minimization problem

This would be an instance of a linear problem (i.e. it is linear in the coefficients a, b and c). Therefore you would want to us...

5년 이상 전 | 0

답변 있음

plot binary vectors ?

Would you be looking for something like this? x = randi([0,1],100,2); histogram2(x(:,1),x(:,2),'Normalization','pdf') ...

plot binary vectors ?

Would you be looking for something like this? x = randi([0,1],100,2); histogram2(x(:,1),x(:,2),'Normalization','pdf') ...

5년 이상 전 | 0

답변 있음

Classification learner - categorical data import not working

The classification learner app only works with matrices and tables, but the latter can hold a categorical variable. SO if your d...

Classification learner - categorical data import not working

The classification learner app only works with matrices and tables, but the latter can hold a categorical variable. SO if your d...

5년 이상 전 | 1

| 수락됨

답변 있음

help pareto front?

1. Do your objective functions take exactly one input argument? I assume you have more based upon this error. 2. I can't really...

help pareto front?

1. Do your objective functions take exactly one input argument? I assume you have more based upon this error. 2. I can't really...

6년 이하 전 | 0

답변 있음

help pareto front?

The function _simple_mult_ contains two objective functions and returns the objective function evaluation of both of these objec...

help pareto front?

The function _simple_mult_ contains two objective functions and returns the objective function evaluation of both of these objec...

6년 이하 전 | 0

답변 있음

How can I assign a histfit graph to a parent axis in a gui?

histfit always plots to the current axes.You need to make the axes you wish to place this on the current axes using: axes(h...

How can I assign a histfit graph to a parent axis in a gui?

histfit always plots to the current axes.You need to make the axes you wish to place this on the current axes using: axes(h...

6년 이하 전 | 1

| 수락됨

답변 있음

getting true positive and true negative rates from a neural network classification

# The ROC curve plots the TPR vs FPR. # How you are calculating the TPR and TNR is not correct: TPR = cm(1,1)/sum(cm(:,1))...

getting true positive and true negative rates from a neural network classification

# The ROC curve plots the TPR vs FPR. # How you are calculating the TPR and TNR is not correct: TPR = cm(1,1)/sum(cm(:,1))...

6년 이하 전 | 0

| 수락됨

답변 있음

Why this error happened when i run genetic algorithm?

It sounds likely that you have a different file ga.m which is being found by MATLAB first. If you type: which ga you ...

Why this error happened when i run genetic algorithm?

It sounds likely that you have a different file ga.m which is being found by MATLAB first. If you type: which ga you ...

6년 이하 전 | 0

| 수락됨

답변 있음

Mapminmax process function causes that NN incorrectly simulates outputs

You would likely have better luck if you just started with the <http://www.mathworks.com/help/nnet/ref/patternnet.html patternne...

Mapminmax process function causes that NN incorrectly simulates outputs

You would likely have better luck if you just started with the <http://www.mathworks.com/help/nnet/ref/patternnet.html patternne...

6년 이하 전 | 2

답변 있음

Limit in SQL query not working

<http://stackoverflow.com/questions/971964/limit-10-20-in-sql-server LIMIT> is not available in SQL Server. There is a similar c...

Limit in SQL query not working

<http://stackoverflow.com/questions/971964/limit-10-20-in-sql-server LIMIT> is not available in SQL Server. There is a similar c...

6년 이하 전 | 1

답변 있음

How to save 'display-iter' from fmincon to a .txt file?

Ok I see only 2 things wrong here, but there may be more as this obviously isn't ALL of the code. 1. I missed the fact that y...

How to save 'display-iter' from fmincon to a .txt file?

Ok I see only 2 things wrong here, but there may be more as this obviously isn't ALL of the code. 1. I missed the fact that y...

6년 이하 전 | 0

답변 있음

Create a conditional formatting Color Scale Table like Excel

To do this you will need to pass in html as the Data for the uitable. The best way to replicate what you are looking for is to ...

Create a conditional formatting Color Scale Table like Excel

To do this you will need to pass in html as the Data for the uitable. The best way to replicate what you are looking for is to ...

6년 이하 전 | 1

| 수락됨

답변 있음

Error adding file to the application compiler

GUIDE is not supported by the Compiler App: <http://www.mathworks.com/products/compiler/supported/compiler_support.html Compile...

Error adding file to the application compiler

GUIDE is not supported by the Compiler App: <http://www.mathworks.com/products/compiler/supported/compiler_support.html Compile...

6년 이하 전 | 0

답변 있음

How to save 'display-iter' from fmincon to a .txt file?

Without having tested this the basic idea you would define the function in the manner described <http://www.mathworks.com/help/r...

How to save 'display-iter' from fmincon to a .txt file?

Without having tested this the basic idea you would define the function in the manner described <http://www.mathworks.com/help/r...

6년 이하 전 | 1

답변 있음

fmincon error in matlab

Your objective function must return a scalar value but yours is returning a vector as your vector of design variables is a vecto...

fmincon error in matlab

Your objective function must return a scalar value but yours is returning a vector as your vector of design variables is a vecto...

6년 이하 전 | 0