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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

| akzeptiert

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

fast 12 Jahre vor | 0

| akzeptiert

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

fast 12 Jahre vor | 0

| akzeptiert

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 1

| akzeptiert

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

fast 12 Jahre vor | 0

Beantwortet
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

fast 12 Jahre vor | 0

| akzeptiert

Beantwortet
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:...

fast 12 Jahre vor | 0

| akzeptiert

Beantwortet
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)'

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

| akzeptiert

Beantwortet
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?

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

| akzeptiert

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

fast 12 Jahre vor | 0

| akzeptiert

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

fast 12 Jahre vor | 0

Beantwortet
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)

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 1

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

Beantwortet
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>

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 1

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

fast 12 Jahre vor | 2

| akzeptiert

Beantwortet
"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.

fast 12 Jahre vor | 4

| akzeptiert

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

fast 12 Jahre vor | 0

| akzeptiert

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

fast 12 Jahre vor | 0

| akzeptiert

Mehr laden