Respondida
How do I create multiple x,y scatters on one plain, and show the "trajectory" of each point?
Hello, You could try using the *animatedline* command <https://www.mathworks.com/help/matlab/ref/animatedline.html> Es...

más de 7 años hace | 0

Respondida
Gradient algorithm in FSOLVE
Hello, You have the right idea in my opinion. If you refer the documentation for *fsolve* <https://www.mathworks.com/help/...

más de 7 años hace | 0

| aceptada

Respondida
MATLAB PDE TOOL for Newtonian Fluid
Hello, As far as I can see, your equation is a one dimensional description of Newtonian Fluid flow (unless the d stands for s...

más de 7 años hace | 0

Respondida
cftool is not loading in Matlab R2014b
Hello, Based on the error message, I believe this issue might stem from two reasons: * Your MATLAB Path is bad For some...

más de 7 años hace | 0

Respondida
6 eqn with 6 unknown Cannot find explicit solution
Hi, In some cases involving complex non-linear equations such as the one in this post, *solve* cannot find an explicit soluti...

más de 7 años hace | 0

Respondida
How to integrate customized kernel function into "regression learner" toolbox?
Hello, The "Regression Learner" app does not currently support specifying custom *Kernel* functions. However, if you are will...

más de 7 años hace | 0

| aceptada

Respondida
cross validation error meaning?
Hello, To begin with I would recommend reading a little about what cross-validation stands for from here: <https://en.wiki...

más de 7 años hace | 0

Respondida
Find x from user-input probability
Hello, Since it is unclear what "x" stands for, I can only take a guess. Most likely what you want to do is given an input v...

más de 7 años hace | 0

Respondida
How do I create a complex geometry for heat transfer analysis?
Hi, Here is a code snippet that shows you how to plot the leaf, essentially you are also plotting the reflection of "n" along...

más de 7 años hace | 0

Respondida
Maximizing sharpe ratio of a portfolio with shorting allowed, where sum of absolute weights must be one.
Hello, Have you tried specifying bounds to be negative with "setBounds" <https://www.mathworks.com/help/finance/setbounds....

más de 7 años hace | 0

Respondida
how to do matrix interpolation faster
Hi, One thing I notice is that you are creating the *scatteredInterpolant* object in each iteration of the *for* loop. This w...

más de 7 años hace | 1

Respondida
Java issue with Matlab
Hi, yes the cause of this issue appears to be the use of an incorrect JRE . Here is my recommendation - when MATLAB is shipped, ...

más de 9 años hace | 0

| aceptada

Respondida
How can I use timeseries objects with serial date numbers (datenum)?
From what I understand at the moment, this is possible provided a "StartDate" value is set and also if the available'Units' mean...

más de 9 años hace | 0

Respondida
How can I plot the percentage value in an histc plot?
Hi , I assume by "up to" you mean on top of the histogram. I recommend using text objects and adding them as shown in the code b...

más de 9 años hace | 1

Respondida
Convert year data to month (40 years = 480 months) in rows
Why not represent the results in a 40 by 12 matrix instead? Each row of the matrix would represent the consumption for the 12 mo...

más de 9 años hace | 0

| aceptada

Respondida
Edge detection and cropping out region of higer intensity of Grayscale images
Hi , I am no expert in image processing but here is what I came up with after playing around with some of the tools, I hope this...

más de 9 años hace | 0

| aceptada

Respondida
How to modify titles on plots generated by controlchart(y, 'chart', {'i','mr'})
Hi, based on your previous posts, I assume you are working with release R2015a. I would highly recommend spending some time to g...

más de 9 años hace | 1

| aceptada

Respondida
Listen for a change in a subclass property
Hi , I am not sure I completely understand the context of the question but I was able to create an example that demonstrates how...

más de 9 años hace | 1

Respondida
Calculating the icdf of Gaussian function without using icdf function
Hi , as far as I understand the inverse of multivariate distributions are not uniquely defined. If you would like to determine t...

más de 9 años hace | 0

| aceptada

Respondida
Help setting up an optimization problem
Assuming I have understood your questions, here is the framework I would suggest for the optimization process. I am assuming tha...

más de 9 años hace | 0

Respondida
Standard deviation for three dimensional matrix
I do not believe you need a loop for this. The 'std' function has the capability to account for direction as per the documentati...

más de 9 años hace | 1

| aceptada

Respondida
I keep getting undefined function or method 'fn2fm' for input arguments of type 'struct'
There is a chance that your toolbox cache has become corrupted. You can set this right as follows: >> restoredefaultpath ...

más de 9 años hace | 0

Respondida
Adding a second x-axis to my graph, which i can scale myself
The link below gives an example and details to address your question.Essentially, you add a transparent axes and set the 'XAxisL...

más de 9 años hace | 0

Respondida
Plotting concentric circles on sphere
Hi, please execute the code below to generate the sphere with concentric circles. There are many ways to implement this , I have...

más de 9 años hace | 1

| aceptada

Respondida
algebra in degree minutes seconds
You can make use of either the "arrayfun" or the "cellfun" to perform elementwise operations. Here are the links for these funct...

más de 9 años hace | 0

| aceptada

Respondida
Finding Jordan Canonical Form (V and J) of a big square matrix
The Jordan function has an imposed size limit to help prevent exceedingly long calculations. In order to get around the error, e...

más de 9 años hace | 0

Respondida
Meshgrid stretching surface plot
I have three suggestions that might work for you: 1. Reconsider your stance on the issue at hand. Are you really sure that th...

más de 9 años hace | 0

Respondida
Script optimization: for loop, if statement, large dataset.
Hi Shayne, you seem to dynamically changing the size of the red, blue and green arrays in your loop which could cause errors due...

más de 9 años hace | 0

Respondida
How to extract rows based on column values in a matrix?
Here are links to a few concepts that would be useful for performing such operations: 1. Matrix Indexing : Using Logicals in ...

más de 9 años hace | 13

| aceptada

Respondida
Adding subscripts to legends or axis in Mupad plots
In my opinion, this is not possible. The legend function expects arguments of type DOM_STRING. DOM_STRING does not appear to sup...

más de 9 años hace | 0

| aceptada

Cargar más