**Statistics**

RANK**6**

of 291 603

REPUTATION**30 641**

CONTRIBUTIONS

**264** Questions

**11 719** Answers

ANSWER ACCEPTANCE **
78.03%
**

VOTES RECEIVED**4 053**

RANK**209** of 19 806

REPUTATION**6 427**

AVERAGE RATING**4.90**

CONTRIBUTIONS**38** Files

DOWNLOADS **285**

ALL TIME DOWNLOADS**53860**

RANK

of 146 386

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**3** Highlights

AVERAGE NO. OF LIKES**2**

**Feeds**

How do I remove outliers in data so that vectors are of the same length for plotting?

Perhaps something like this, [Y,discard]=rmoutliers(Y); X(discard)=[];

en dag ago | 1

| accepted

inv(A)*B*inv(A) or A\B/A, which is more accurate for a full rank A and half rank B

I tried both inv(A)*B*inv(A) or A\B/A, resulting in very different results for a gradient descent algorithm. From this, it woul...

2 dagar ago | 0

Accessing data from same variables within different tables in a structural array

fcn=@(p) interp1( p.data.TimeCooling , p .data.TempCore, timepoints(:)); TempCore_Lookups= cell2mat(arrayfun(fcn,p,'un...

3 dagar ago | 0

| accepted

One function is greater than other

Let us reorganize the inequality as, Since log(z)>0 in the given domain of z, this implies which in turn implies that...

3 dagar ago | 0

| accepted

Finding accurate inverse of binary circulant matrix

We don't know what it is that you consider improper about the results of inv(). The test below indicates to me that everything i...

3 dagar ago | 0

Proving one function is greater than other?

Make the change of variables and rearrange the inequality as, Since is a convex function on such that >0 and , it read...

4 dagar ago | 0

| accepted

Function to trainNetwork returns an unexpected error

Your X_train and y_train data were in some weird format that trainNetwork cannot recognize. Try this instead, Xdata = num2cell(...

5 dagar ago | 0

orthogonal projection of 3D nodes onto a 2D plane

You should post questions about a FEX file on the submission's FEX Discussion forum, since only its author is likely to have the...

5 dagar ago | 0

| accepted

Surf on a cylinder

% Step 1: Create the heatmap data % Example heatmap data heatmapData = peaks(50); % Replace this with your actual heatmap dat...

5 dagar ago | 0

create a 3D smoothing with csaps (or similar)

load curve_1 cc = curve_1; %or curve_2 x = cc(:,1); y = cc(:,2); z = cc(:,3); t=linspace(0,1,height(cc)); tu=linspace(0...

6 dagar ago | 1

How to train a vector multiple-input multiple-output network

You have only entered one InputDataFormat. The error message is telling you that you need two of them, e.g., options = training...

7 dagar ago | 0

| accepted

Create different interpolation steps in a column

newy=[1:10,12:2:30, 50:50:500]; newdata=interp1(y,data,newy);

9 dagar ago | 0

| accepted

lambda in fmincon Interior-Point Algorithm with Analytic Hessian

How come it is an input to the function hessinterior? Because both x and lambda are computed iteratively. The solver therefore...

9 dagar ago | 0

Fitting a function with constraints

You can use a custom model for each case: ascending: The minimum y-value must be at the first x-value g = fittype( @(a, t, c, ...

9 dagar ago | 0

Solve ill-conditioned linear systems

Ill-conditioning is a property of the problem, not the method of solution. You cannot overcome it with any particular choice of ...

10 dagar ago | 0

Calculations for Each Table in a Cell

for i =1:numel(CoPyData) Trial = CoPyData{i}; CoPv_y = diff(Trial.Displacement)./diff(Trial.Time); CoPv = [...

10 dagar ago | 0

| accepted

find the inflection point of a curve 3D (set of nodes) in matlab

You can use csaps to fit a smoothing spline to the points and then fnder to differentiate the curve and observe curvature change...

10 dagar ago | 0

How to put 3D array data into mesh grid and find grid cell index of a cube enclosing a given point?

It would be much simpler and more efficient to skip the meshgrid altogether and use discretize. i=discretize(px,x); j=discret...

10 dagar ago | 0

| accepted

How to fit polygon to irregular set of points with only vertical and horizontal edges?

You will need to use a Traveling Salesman Problem solver to sort the vertices. There are a number of them on the File Exchange. ...

10 dagar ago | 1

| accepted

Complex value computed by model function, fitting cannot continue. Try using or tightening upper and lower bounds on coefficients.

fminspleas from this FEX download, https://www.mathworks.com/matlabcentral/fileexchange/10093-fminspleas is helpful for these...

10 dagar ago | 0

| accepted

How to find norm of a 3 X 1 matrix if it contains components in parametric form?

syms t coupler_parametric=[5163136522924301/2251799813685248,... 2^(1/2)/2 - (8*t)/(t^2 + 1), - (4*(t^2 - 1))/(t^2 + 1) - ...

11 dagar ago | 1

| accepted

wrong type variable in uitable

"Unrecognized property 'VariableTypes' for class 'matlab.ui.control.Table'." Indeed, there is no such property. Why did you put...

12 dagar ago | 0

create a 3D average plan (or normal) from two 3D plans (or normals)

There is no universally recognized concept of an "average plane". One definition you could adopt is the plane obtained by fittin...

12 dagar ago | 0

polynomial multiplication not accurate, using conv() vs symbolic

To avoid the numerical instabilities of high order polynomials, don't work with the coefficients of D4_poly^2. Just evaluate D4_...

13 dagar ago | 0

| accepted

Should I modify x-values for curve fitting with response variable?

Matlab's fitting solvers do not require the x data to be equidistant. I'm not sure why it would be a matter of opinion, though...

13 dagar ago | 1

Question

Is there a reason why {'charVector'} is not considered a text scalar for argument validation purposes?

It seems like a software design inconsistency to me that this passes validation, mustBeText({'charVector'}) mustBeScalarOrEmpt...

14 dagar ago | 2 answers | 3

### 2

answersI have the 3D MTF and i want to convert this 3D MTF to the common 2D MTF as in the image attached. I want to plot MTF vs Spatial frequency graph.

Your attachment isn't a 2D MTF. It is a 1D MTF. You must pick a 1D cross-section of your 3D MTF that you'd like to plot and extr...

14 dagar ago | 0

Problem with polyfit command (R2015a)

The result from polyfit is correct. I suspect you are simply not using polyval properly to evaluate the fit: x=[1:9] ; y=[5,6,...

14 dagar ago | 1

| accepted