Community Profile

# Unai San Miguel

### Nordex-ACCIONA

26 2016 年以降の合計貢献数

#### Unai San Miguel's バッジ

Code to plot von mises and tresca yield conditions
This plot can be generated with some analytic work, by getting the ellipse in parametric equations, generating points along tha...

5ヶ月 前 | 0

Scattered interpolation with weight factors
You could add some random points near the point you rely more on. Close enough to effect the interpolation and separated enough ...

6ヶ月 前 | 0

curve fitting toolbox: how to fit a multivariate b spline to data (regression)
I think it is the same as for the d=1 case: you have to define a convenient knot sequence, and in turn a spline vector space, an...

11ヶ月 前 | 0

With the Nurbs2IGES toolbox found in MATLAB File Exchange https://www.mathworks.com/matlabcentral/fileexchange/12087-nurbs2iges ...

11ヶ月 前 | 0

| 採用済み

N-Dimensional smoothing spline weighting
You can use a cell of two set of weights, one in each direction of the input csaps({1:M, 1:N}, I, [], {wi, wj}); with wi an ...

1年以上 前 | 0

How can I represent and visualize my four dimensional system in a meaningful way?
3 dimensions are really hard to plot, it is almost always better to switch to 2D, and better contours than filled contours. If y...

1年以上 前 | 0

how can i work with the coefs of cscvn?
There is no need to use the coefficients of the function, because the Curve Fitting Toolbox provides with functions to derive an...

2年弱 前 | 0

Error finding and graphing max values of data (Error using horzcat Dimensions of matrices being concatenated are not consistent. )
Your |TEK00055.csv| data has three data points with maximum y-values: >> xmax xmax = 6.8720 6.8730 6.9890...

2年弱 前 | 0

| 採用済み

multidimensional numerical integration without large matrices
I don't like |meshgrid| even for 2 variables, so I would use |ndgrid| instead [X1, X2, X3, X4] = ndgrid(x1, x2, x3, x4); ...

'stacking' 2D graphs on top of each other.
There are |plot3|, |contour3| versions of |plot|, |contour| for which you would have to add a third coordinate for each 2D plot,...

| 採用済み

How to plot sin(theta)*cos(phi) in spherical coordinates
|sin(theta) * cos(phi)| is the result of the matrix multiplication of the two terms. Maybe you wanted |sin(theta) .* cos(phi)|? ...

2年以上 前 | 0

difficulty in printing for 'cell' inputs.
If you are OK with the contents and format of |c| maybe you can substitute the |fprintf| line by: cellfun(@(x) fprintf(fid2...

2年以上 前 | 0

How do i find the intersection points between a surface and a patch?
It is hard to find the intersection of a surface and a plane (in general), as it is explained <http://web.mit.edu/hyperbook/Patr...

2年以上 前 | 0

| 採用済み

Angle between two vectors
You have two vectors , determine the angle between these two vectors For example: u = [0 0 1]; v = [1 0 0]; The a...

2年以上 前

Calling multiple function files to plot in one figure
Although I don't know exactly what kind of plots you want to do, or what are the variables involved, sometimes it helps to use t...

2年以上 前 | 0

Constructing an Offset-Curve
The subject is not trivial, a nice description can be found in <http://web.mit.edu/hyperbook/Patrikalakis-Maekawa-Cho/node210.ht...

| 採用済み

How to display the contour line values from a contour plot generated using the curve fitting tools?
If, in the auto-generated code from the gui you specify |h| (the handler to the plots) as an aditional output variable you can a...

| 採用済み

Revolution 2D spline to 3D surface
It depends on what you mean by _analytical expression_. For example, it is not possible to express a circle and thus a revolutio...

fnval for tensor splines
|fnval(pp, [x(:)'; y(:)'])|? From the <https://es.mathworks.com/help/curvefit/fnval.html fnval> doc page (...) For an m...

Fit polynomial to data with prescribed second derivative
The <http://es.mathworks.com/help/curvefit/csape.html help page for csape> says that you would have to use |csape(x, [-0.001, y,...

Closed spline fit of airfoil coordinates
You are working with curves, not functions. Your |airfoil| is a (planar) curve, or in the Splines toolbox wording a 2-valued...

jupyter notebook vs live scripts
What are the differences between Live Scripts and Jupyter notebooks?

### 3

Storing the output of spap2 into an array then looping and graphing that output
The output of |spap2| is a struct, something like: >>sp sp = form: 'B-' knots: [1x25 double] ... ...

3年以上 前 | 0

statistics (PCA) on piecewise B spline for Shape Model problem using spline toolbox
|fncmb| takes first both spline functions to the same vector space (same breaks and order in this case). If the breaks are not t...

3年以上 前 | 0

B-Spline least squares (spap2)
Hi, |spap2| returns the B-form of the spline, and if you don't supply a knot vector it will use C2 continuity (k-2 = 4-2 in y...

3年以上 前 | 0

What is the best way to remove a knot from a (univariate) spline?
In my problem, I have a planar curve, i.e., a 2-valued univariate spline function |s|. I insert |k-1| times a value in the knot ...