Respondida
Code for Multimodal Histogram Segmentation of images
doc multithresh doc imquantize

casi 12 años hace | 0

Respondida
Can you do this calculation any faster?
Another (small) improvement you can make here is to pull some of the static computations out of the loop. For example [2*N...

casi 12 años hace | 0

| aceptada

Respondida
how to generate sin signal in simulink?
Use a sine wave source block: <http://www.mathworks.com/help/releases/R2014b/simulink/slref/sinewave.html>

casi 12 años hace | 0

| aceptada

Respondida
If I don't know Linear Algebra can I still take the MATLAB Fundamentals class for beginners?
Yes. The majority of the class is focused on workflows etc. and not on math or anything very specific. You will see some f...

casi 12 años hace | 0

| aceptada

Respondida
How to stop closing Excel in a programmatic GUI?
Are you accessing Excel through the COM API? If so, don't close the application unless all of the criteria are met.

casi 12 años hace | 0

Respondida
Problem with my code, any help?
b = bwlabel(logical(a))

casi 12 años hace | 0

Respondida
Is their the way we could put constraints for variables in ODE15s such that simulated values of these variables are always greater than 0.
It sounds like you need to add this to your odefun that ode15s is calling. If that values cannot be negative, then this functio...

casi 12 años hace | 0

Respondida
Work online with Neural networks using real time inputs
In NNTOOL there is an option to generate a simple or advanced script. Have you done this? At that point, I would save the ne...

casi 12 años hace | 1

| aceptada

Respondida
how to use PreLoadFcn
You'll need to add the directory containing |my_param.m| to the MATLAB path so MATLAB and SIMULINK can see it: <</matlabc...

casi 12 años hace | 0

Respondida
The greatest common divisor
Use a for loop over the elements in the matrix for ii = 1:numel(A) b(ii) = existing_gcd_algorithm(A(ii),c) end

casi 12 años hace | 0

| aceptada

Respondida
Why am I getting an error while using intlinprog
IntCon is a function handle. It cannot be. It has to be a vector showing which elements are integer constrained. For example:...

casi 12 años hace | 0

| aceptada

Respondida
Convert ordered date to formal matlab date
Or in R2014b you can do this with the new and improved datetime class: datetime(2014,1,1:365,0,0,0)'

casi 12 años hace | 0

Respondida
Debug mode in code with blocks(cells)
No. There is no way to do this. When you run a section, it essentially copies and pastes it to the command line to run, thus t...

casi 12 años hace | 0

| aceptada

Respondida
Matlab 2014b: figure() dbstops
Have you tried: dbstop if error To see the error where it is happening to figure out what is being called and how?

casi 12 años hace | 0

Respondida
How to do a contour plot of a matrix C with respect to matrices A and B as X and Y axis?
A and B need to be monotonically increasing grids as would be the result from |meshgrid| [xx,yy] = meshgrid(linspace(0,1,40...

casi 12 años hace | 0

Respondida
P-Code Generation Segmentation Fault
Please <http://www.mathworks.com/support/contact_us/index.html contact MathWorks' Technical Support>

casi 12 años hace | 0

| aceptada

Respondida
cumulative sum that restarts whenever it reaches certain level
rng default x = randi(3,[20 1]); thresh = 6; while 1 xc = cumsum(x); k = find(xc > thresh,1,'first...

casi 12 años hace | 0

| aceptada

Respondida
Set and enforce axis properties immediately
If you don't need the intermediate updates in the loop, pull the drawnow out of the loop and call it once after setting xdir rev...

casi 12 años hace | 0

Respondida
How to reshape a matrix from a vector?
If you want a 100x2 from a 105 element vector, padding with zeros, this should do it: buffer(1:105,100)

casi 12 años hace | 0

Respondida
FMINCON Curve fitting
|fmincon| is overkill. Use |lsqcurvefit| which already has the objective function framed for you. doc lsqcurvefit % for mo...

casi 12 años hace | 1

Respondida
How do I remove specific markers in scatter plot?
You can use data brushing if you want to do it interactively: <</matlabcentral/answers/uploaded_files/19397/Capture.PNG>>...

casi 12 años hace | 0

Respondida
Fitting surface to 3D data from a CT stack
Try using |lsqcurvefit| in the Optimization Toolbox or NonLinearModel.fit in the Statistics Toolbox. These allow for an arbitra...

casi 12 años hace | 0

Respondida
show values as <mxn> instead of <mxn double>
Richt click on the workspace toolbar and it'll show you what's available. It sounds like you might want to select size instead ...

casi 12 años hace | 0

Respondida
How can I change the axes properties in GUI created by guide?
Calling plot will clear some of the axes settings. You could either use |hold on| to hold the axes properties or instead of cal...

casi 12 años hace | 0

Respondida
i want to save cell data as csv format ,but il shows there is a error,how can i save these cell array as csv format? thanks
The File Exchange is your friend :) <http://www.mathworks.com/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=cell+csv>

casi 12 años hace | 0

Respondida
How to use a module with .mexw64 using a 32 operating system
You'll need to install a <http://www.mathworks.com/support/sysreq/current_release/ supported compiler>.

casi 12 años hace | 1

Respondida
What is the limit of workers I can have using Parallel computing toolbox?
As of R2014a, you can open up to 512 workers on a single computer with Parallel Computing Toolbox installed. If you would lik...

casi 12 años hace | 2

| aceptada

Respondida
"No help found" for built-in functions or user defined functions in R2014a
You need to reset the path: restoredefaultpath rehash toolboxcache This should take care of it.

casi 12 años hace | 4

| aceptada

Respondida
New Version Matlab means Users Need New MCR?
When you compile code with the new release it will require a new version of the MCR to be downloaded. Old applications can cont...

casi 12 años hace | 0

| aceptada

Respondida
Error 1,731 Can not progress after selecting license
Contact MathWorks' Installation support, it's free, and they know what type of license configuration you have that can cause lic...

casi 12 años hace | 0

| aceptada

Cargar más