Answered
I can't use installed toolbox functions
According to its documentation page, the first input to the autobinning function must be a "Credit scorecard model, specified as...

3 years ago | 1

Answered
Array indices must be positive integers or logical values.
x = -6; %input value for following expression if x < -5 f(x) = 0; There's no such thing as element -6 of an array in MATL...

3 years ago | 0

Answered
Cant use Excel names to fprintf?
You can convert your cell array into a string array (assuming it contains text data) using string or into a numeric array (assum...

3 years ago | 0

Answered
is there a synonym of the function 'importdata' that supports code generation?
Opening the function list for MATLAB and filtering by Category "Data Import and Analysis" and Extended Capability "C/C++ Code Ge...

3 years ago | 0

| accepted

Answered
Contradictory results in command window with variable class and ischar function?
This code, class structure(8).timetotemp, is equivalent to: class('structure(8).timetotemp') If you had a variable array named...

3 years ago | 0

Answered
Join tables on closest dates
I'd probably try converting those table arrays to timetable arrays using table2timetable and then using synchronize to synchroni...

3 years ago | 0

Answered
Error with writing a function
If you're writing a function inside a function file and any function in your function file ends with an end then every function ...

3 years ago | 0

Answered
Replace many symbolic values with numerical values all at once
If you're generating this list of "many symbolic values" from something like a call to solve, call solve with one output (so you...

3 years ago | 0

| accepted

Answered
numerical error when dividing some identical complex number
Are you certain the two numbers you're using are identical down to the last bit, not just down to the last displayed digit? x =...

3 years ago | 0

Answered
Why does vpa give a sym class variable?
Another simpler point to what Walter Roberson said: we don't want you to have to check the class of the output returned by vpa e...

3 years ago | 0

Answered
Sudden changes in data values - how to detect?
Since this question was asked the ischange function has been added to MATLAB. Its short description is "Find abrupt changes in d...

3 years ago | 1

Answered
Check for incorrect argument data type or missing argument in call to function 'log'.
I suspect your image variable (which you probably want to rename, as image already has a meaning in MATLAB) is one of the eight ...

3 years ago | 0

Answered
Generating the laplacian for a sub-graph that still reflects the connectivity of the overall graph
Your comment refers to "the first figure" but no figures are attached to this post nor are there any linked documents including ...

3 years ago | 0

| accepted

Answered
Question on DDE23
Nowhere in your ddefunc function do you define the variables a,b, etc. The fact that you've defined them in the script or functi...

3 years ago | 1

Answered
I dont know why i keep getting an Invalid operator
See the "Syntax for Function Definition" section on this documentation page. When you define a function the input arguments must...

3 years ago | 0

Answered
Can one extract a unit of time from a duration object?
MATLAB will try to select a good format for the duration object based on the data with which it was created. But if you want all...

3 years ago | 0

| accepted

Answered
Detect all local minimum and remove them
Another approach similar to John D'Errico's, but automating the detection and filling of the local minima: x = [280 295 310 325...

3 years ago | 0

Answered
why matlab is using all cores when no parallel pool is created
Many operations in MATLAB, when it would be beneficial to use multiple threads in their computation, are multithreaded even with...

3 years ago | 4

| accepted

Answered
Symbolic math tool - Seperate numbers from symbols
Depending what else you're planning to do with this result you could use symunit. I'm assuming mass and m are in units of kilogr...

3 years ago | 0

| accepted

Answered
How can I solve N (N>100) cubic equations parallelly?
Solving the roots of a cubic polynomial isn't very computationally intensive. I wouldn't be at all surprised if whatever benefit...

3 years ago | 0

Answered
Saving a structure element as a .mat file
If you want to extract some but not all of the variables stored in a MAT-file into a separate file, I'd use load to read just th...

3 years ago | 0

Answered
Can I extend the evaluation period?
Please contact Customer Service directly using the Contact Support link under the Get Support heading at the end of this page.

3 years ago | 0

Answered
How do I find Matlab after its installed on Linux?
See this documentation page.

3 years ago | 0

Answered
Need help on this question
Look very closely at the character vectors you're supposed to assign to the variable. You're missing the periods at the end of t...

3 years ago | 0

| accepted

Answered
How can I change which pathdef.m is loaded each startup?
If you look inside the pathdef.m file you will see a comment that starts "DO NOT MODIFY THIS FILE." Rather than creating your o...

3 years ago | 1

Answered
Optimise vertical position of nodes for shortest sum of paths
If you have a graph or diagraph object representing your nodes and their connections, perhaps plotting the graph or digraph and ...

3 years ago | 1

Answered
How to plot a graph between workspace "complex double" vs "double" ?
Where exactly on this axes: axes would you draw the point x = 0.5+0.25i, y = 0.75? One potential approach would be to make a ...

3 years ago | 0

Answered
Solving ODE's and linear algebraic equations simultaneously in matlab
So you have a system of differential-algebraic equations (DAE)? Since you mentioned dsolve it sounds like you have Symbolic Math...

3 years ago | 1

Answered
Greetings, I want to plot a figure with two y-axis but I get the undefined function for the yyaxis right command
According to the yyaxis function documentation page, this function was "Introduced in R2016a". Which release are you using? If y...

3 years ago | 0

Answered
Errors in loops in Matlab
k(1)=0.6*k_steady; I assume you haven't preallocated k, so k has just 1 element. for i=1:length(c1) c(1)=c1(i); I also a...

3 years ago | 0

Load more