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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 1

| aceptada

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

más de 8 años hace | 2

| aceptada

Respondida
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); ...

más de 8 años hace | 1

| aceptada

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 4

| aceptada

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

más de 8 años hace | 1

| aceptada

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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 1

| aceptada

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

más de 8 años hace | 3

| aceptada

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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 1

| aceptada

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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 0

| aceptada

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

casi 9 años hace | 0

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

casi 9 años hace | 0

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

casi 9 años hace | 1

| aceptada

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

casi 9 años hace | 0

Respondida
help pareto front?
The function _simple_mult_ contains two objective functions and returns the objective function evaluation of both of these objec...

casi 9 años hace | 0

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

casi 9 años hace | 1

| aceptada

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

casi 9 años hace | 0

| aceptada

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

casi 9 años hace | 0

| aceptada

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

casi 9 años hace | 2

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

casi 9 años hace | 1

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

casi 9 años hace | 0

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

casi 9 años hace | 1

| aceptada

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

casi 9 años hace | 0

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

casi 9 años hace | 1

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

casi 9 años hace | 0

Cargar más