Community Profile

photo

Brando Miranda


2016년부터 활동

student

통계

  • First Review
  • Thankful Level 3

배지 보기

Content Feed

보기 기준

질문


Fit a linear model and get its R^2 if I want the model to have a specific form and slope
I want to see fit a model y=mx+c when m=1 to some data, so I only want to learn the offset. I know the expressions are relat...

5년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Why does hist, histogram and how the shape of my data is affect how my results are displayed?
I have these 3 plots: <</matlabcentral/answers/uploaded_files/126103/Screen%20Shot%202018-07-22%20at%2010.30.45%20PM.png>> ...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How does one assign a different maker to each scatter without having to call scatter multiple times?
How does one assign a different maker to each scatter without having to call scatter multiple times? Is it possible to do thi...

5년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
What is the color spec for default blue?
c = [0 0.4470 0.7410]; scatter(X,Y,'MarkerEdgeColor',c) finally worked

5년 초과 전 | 1

질문


What is the color spec for default blue?
i.e. this blue: <</matlabcentral/answers/uploaded_files/125288/Screen%20Shot%202018-07-15%20at%209.09.49%20AM.png>> ----...

5년 초과 전 | 답변 수: 3 | 1

3

답변

질문


Change axis values of an already existing figure
I have a figure that has axis already and numbers in them. I wish to change the axis values display values so that they read dif...

거의 6년 전 | 답변 수: 1 | 0

1

답변

질문


Is it possible to have matlab go into debugging mode only when it hits a nan?
Is it possible to have matlab go into debugging mode only when it hits a nan, without writing code, just run and then halt when ...

거의 6년 전 | 답변 수: 2 | 0

2

답변

질문


Why does is take O(n^2) to append elements in matlab when it takes O(n) amortized time in theory?
why doesn't matlab have O(n) amortized time to append elements to a growing array? I thought his was an algorithmically well und...

거의 6년 전 | 답변 수: 1 | 0

1

답변

질문


Is there a version of dir that takes a path?
I want to use `dir` to get some list of files. But to do this I need to cd into a directory which seems really dum. Is there not...

거의 6년 전 | 답변 수: 0 | 0

0

답변

질문


Can one dynamically add new keys to a Maps data structure in Matlab?
I recently discovered the maps data structure but it seems I can't dynamically assign new keys to it. I am going through some fi...

거의 6년 전 | 답변 수: 1 | 0

1

답변

질문


Why is fsurf complaining when it plots -e^(-x^2)?
I wanted to plot: <</matlabcentral/answers/uploaded_files/101102/Screen%20Shot%202018-01-13%20at%2012.58.34%20AM.png>> wit...

대략 6년 전 | 답변 수: 1 | 0

1

답변

질문


How to plot a histogram in 2D if one has the counts already?
I collected some 2D histcounts with histcounts2 now that I have the counts, how do I plot them? I know one can just fee...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Why doesn't getenv work on MAC OS X?
I was trying to get environment variables that I know exist but it returns empty arrays...is that normal? hello = ...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Why isn't the MATLAB command just available in the terminal for OS X?
I was to use the matlab command in the terminal and it seems I have to do extra stuff for it to be available. How can it "just b...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Can one run a matlab script from the command line and pass arguments to it **without making it into a function**?
I was to run a MATLAB script from the terminal and pass arguments to it. I know I can make it into a function to pass arguments ...

6년 초과 전 | 답변 수: 2 | 1

2

답변

질문


How do I convert a string to a single quotes string?
I have a number N_train that I want to convert to a single quotes string (otherwise the title does not look as I want it): ...

6년 초과 전 | 답변 수: 2 | 0

2

답변

질문


How does one get polynomial features like in python but for MatLab?
Is there code that gets the polynomial features of a vector like in: http://scikit-learn.org/stable/modules/generated/sklearn...

6년 초과 전 | 답변 수: 2 | 1

2

답변

질문


What does the error `Error in checkArgsForHandleToPrint` mean?
What does the error: Error using checkArgsForHandleToPrint Handle input argument contains nonhandle values. Error...

6년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Can someone provide me an example of loading data from Python to Matlab?
I saw the page: https://www.mathworks.com/help/matlab/matlab_external/pass-data-to-matlab-from-python.html that shows whic...

6년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Is there a function that works like mathematica's Manipulate but in Matlab?
I wanted to change a variable and see the change in the plot dynamically. Is that possible in matlab? as in: Introduction to Man...

거의 7년 전 | 답변 수: 1 | 0

1

답변

답변 있음
Is it possible to get access to variables within function handles?
c = 3; f = @(x) x + c; ff = functions(f); ff.workspace{1}.c

거의 7년 전 | 1

질문


Is it possible to get access to variables within function handles?
For example say I define: c=3; f = @(x) x + c; is it possible to do f.c or basically get access to the varia...

거의 7년 전 | 답변 수: 3 | 0

3

답변

질문


What is the quickest way to find a gradient or finite difference in Matlab of a real function in high dimensions?
I have a function handle (black box) that gives me the value of f which is a real number and a function of multiple variables. W...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


Is it possible to install matlab in a docker image?
I wanted to install my matlab in a docker image. Is that possible?

대략 7년 전 | 답변 수: 5 | 2

5

답변

질문


How does one plot a histogram from the histogram counts?
I have produced an array of counts, specifically produced with: histcounts the reason I do this is because storing the a...

대략 7년 전 | 답변 수: 2 | 0

2

답변

질문


How do I fill a histogram in very high dimension if the array creating overflows memory?
I was trying to collect statistics of a 6D vector and plot a histogram for each coordinate. I get 729000000 version of this vect...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


Why does squeeze transpose my matrices without my permission and how to stop it?
I have tensors of the following size 1 x 1 x D x M. I'd like to squeeze it such that we always have a matrix of size D x M. The ...

거의 8년 전 | 답변 수: 2 | 1

2

답변

질문


Using mex does not work but the link it directs me doesn't exist
I was trying to do mex -setup but it didn't work and gave me: Error using mex No supported compiler or SDK was ...

거의 8년 전 | 답변 수: 2 | 0

2

답변

질문


Why does the SQRT function or ^0.5 function return negative values in MATLAB?
I am taking square roots and MATLAB is returning, negative values, why is this? Let me show you the maths and the script that...

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


Is it possible to do operations on 3D matrices without explicitly creating one?
This might sound as a weird question but consider the following code: A = zeros(1,4,2); delta = [-1 -1 -1 -1; 2 2 2 2]; ...

거의 8년 전 | 답변 수: 1 | 0

1

답변

더 보기