Community Profile

photo

Unai San Miguel


Nordex-ACCIONA

Last seen: 11 mesi fa Attivo dal 2016

Statistiche

All
  • Revival Level 3
  • Knowledgeable Level 2
  • Solver
  • First Answer

Visualizza badge

Content Feed

Visto da

Risposto
Optimal knot distribution when specifying interpolating value and derivatives
The length of the knot vector knots should be equal to the length of your [x, x] vector plus the order of the spline, 5 in your ...

oltre 3 anni fa | 0

Risposto
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...

oltre 4 anni fa | 0

Risposto
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 ...

oltre 4 anni fa | 0

Risposto
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...

oltre 4 anni fa | 0

Risposto
Bezier surface to CAD program
With the Nurbs2IGES toolbox found in MATLAB File Exchange https://www.mathworks.com/matlabcentral/fileexchange/12087-nurbs2iges ...

quasi 5 anni fa | 0

| accettato

Risposto
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 ...

oltre 5 anni fa | 0

Risposto
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...

oltre 5 anni fa | 0

Risposto
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...

oltre 5 anni fa | 1

Risposto
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...

oltre 5 anni fa | 0

| accettato

Risposto
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); ...

circa 6 anni fa | 0

Risposto
'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,...

circa 6 anni fa | 0

| accettato

Risposto
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)|? ...

circa 6 anni fa | 0

Risposto
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...

circa 6 anni fa | 0

Risposto
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...

circa 6 anni fa | 0

| accettato

Risolto


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...

circa 6 anni fa

Risposto
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...

circa 6 anni fa | 0

Risposto
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...

quasi 7 anni fa | 0

| accettato

Risposto
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...

quasi 7 anni fa | 0

| accettato

Risposto
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...

circa 7 anni fa | 0

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

circa 7 anni fa | 0

Risposto
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,...

circa 7 anni fa | 0

Risposto
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...

circa 7 anni fa | 0

Domanda


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

circa 7 anni fa | 3 risposte | 3

3

risposte

Risposto
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] ... ...

oltre 7 anni fa | 0

Risposto
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...

oltre 7 anni fa | 0

Risposto
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...

oltre 7 anni fa | 0

Domanda


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 ...

quasi 8 anni fa | 0 risposte | 0

0

risposte