Answered
Password issues with downladed software
Have you contacted Springer directly to ask them for the password?

5 years ago | 0

Answered
Undefined function 'ln' for input arguments of type 'double'.
The natural logarithm function in MATLAB is named log not ln. There are also log10 and log2 functions listed in the See Also sec...

5 years ago | 1

| accepted

Answered
Computation on arrays using loops
Since you seem to be describing change point detection, see the ischange function and/or the Find Change Points task in the Live...

5 years ago | 1

Answered
Check if Lat, Lon coordinate fall inside a polyshape Polygon
I would vectorize the calculations. Let's make a simple polyshape: P = polyshape([0.75 0.3 -0.4 -0.1 -0.6 -0.3 0.5], [0.1 0.6 0...

5 years ago | 0

Answered
how to change order of legends?
You can specify the handles in a particular order when you create the legend. % Sample data x = 0:360; y1 = sind(x); y2 = c...

5 years ago | 8

Answered
How to highlight isolated nodes in a graph?
You want to highlight those nodes that are not connected to any other? G = graph(sprand(10, 10, 0.05), 'upper'); h = plot(G); ...

5 years ago | 2

| accepted

Answered
Assign placement choices to student identifying their top three
See the matchpairs function.

5 years ago | 0

Answered
how to normalize a matrix?????
Use the normalize function with a dim input and the 'range' normalization method.

5 years ago | 1

Answered
Implementation of the feedforwardnet Neural Network
How are you handling the preprocessing functions and postprocessing functions? net = feedforwardnet([2]); net.inputs{1}.proces...

5 years ago | 0

| accepted

Answered
display biograph in GUI axes
If you want to display a graph in an app or GUI axes, consider building a graph or digraph object and calling plot on it. I beli...

5 years ago | 0

Answered
Group data in bins
If you just need to know in which bin each element falls, use discretize. E = 0:11; x = 10*rand(20, 1); bin = discretize(x, E...

5 years ago | 0

Answered
MatLab Interface font size
Change the font preferences.

5 years ago | 0

| accepted

Answered
Finding Mode and Median Without Mode and Median Function
If I gave you a list of numbers: A = randi(10, 1, 7) How would you compute the mode and median of A with pencil and paper (or ...

5 years ago | 1

Answered
Using "fit" function to create a fit type and fit a curve with a function I created
From the description of the 'independent' name-value pair input argument on the documentation page for the fittype function: "In...

5 years ago | 0

Answered
movmean and mean comparasion
Nope. Let's look at an example: BW = magic(4) curve2 = mean(BW, 1) curve = movmean(BW, 1, 1) The movmean call slides a w...

5 years ago | 0

Answered
Can't create/open txt files
Does the file D:\Work\Stage\filename.txt exist when you try to open it for writing? What do these commands return? filename = '...

5 years ago | 0

| accepted

Answered
Function handles and passing parameters to ode solver
The section of the documentation page for the ode45 function that talks about the odefun input argument links to a page that dis...

5 years ago | 0

Answered
2020b update 4 - scatterhist - help example does not work
Do you perhaps have a function named range.m that's taking precedence over the range function included in Statistics and Machine...

5 years ago | 0

| accepted

Answered
Need to plot a graph of -y(t) and x(t) on MATLAB
pos(:,1)=x(:,1).*sin(x(:,3)); pos(:,2)=-x(:,1).*cos(x(:,3)); So pos(:, 1) is the x(t) you're trying to plot and pos(:, 2) is...

5 years ago | 0

Answered
How to solve "Matrix index is out of range for deletion." error?
Suppose you were a pirate being forced to wash the plank that your pirate crew uses to force people to walk the plank. The plank...

5 years ago | 0

Answered
How to create a vector, knowing start, increment and number of values.
Let's take a simpler example. Start at A = 1 with an increment d = 0.5 and create a vector with n = 5 values. The vector is [1, ...

5 years ago | 0

Answered
Trying to create a base line that the function starts at.
See the yline function to draw your flat dashed line. What do you want to do if the data you've calculated starts at y = 50? Do...

5 years ago | 0

| accepted

Answered
Mean and SD for 3D matrix
The cat function is one of the few (if not the only) functions where the dimension input comes first. In most other functions (i...

5 years ago | 0

Answered
Best practice for managing debug/instrumentation code
You could write a displayDiagnosticInfo function that you call throughout your code that displays its input(s). When you're at t...

5 years ago | 1

Answered
Problem with Polyval, potential bug
This is not a bug and this behavior is not caused by polyval but by plot. What happens if you call plot with one input argument?...

5 years ago | 1

| accepted

Answered
how to set x-axes in a histogram of gray scale image and how to see if the image is saturated (12 bit)
You haven't specified the bin edges, the bin method, or the bin width in your histogram call. Because of this I'd be concerned t...

5 years ago | 0

Answered
Recommended Products default query
It really depends what you're doing in the field of marine engineering / naval architecture. Are you designing control systems f...

5 years ago | 1

Answered
code will not run, but gives no error message
Let's say you call your entropy function with inputs 1 and 2. entropy(1, 2) On the second line of your entropy function, it ca...

5 years ago | 1

| accepted

Answered
How to define 𝑓(𝑥, 𝑦) = 𝑒−(2√𝑥2+𝑦2)
Since this sounds like it might be part of a homework assignment, I'm just going to point you to two functions that may be of us...

5 years ago | 0

Load more