Bruno Luong
Statistiche
RANK
27
of 288.464
REPUTAZIONE
7.371
CONTRIBUTI
69 Domande
2.563 Risposte
ACCETTAZIONE DELLE RISPOSTE
56.52%
VOTI RICEVUTI
1.273
RANK
48 of 19.482
REPUTAZIONE
16.174
VALUTAZIONE MEDIA
4.70
CONTRIBUTI
54 File
DOWNLOAD
203
ALL TIME DOWNLOAD
148720
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Content Feed
Increase plot speed in MATLAB
Try to look at animatedline command Also look at drawnow with or without limitedrate option, it somewhat has certain effect, ev...
1 giorno fa | 0
Error calculating inverse for matrix block of LU decomposition of a full row rank matrix
It's a little bit perturbant, but reading the lu doc I don't see why U1 must have the same rank than U (or A, meaning 100 on you...
2 giorni fa | 0
| accettato
de boor bspline algorithm
A very late answer, but as I deal myself with de Boor algorithm I look what exists out there. If the question concerns the 3D a...
2 giorni fa | 0
For a repeated eigenvalue only one eigenvctor is being returned
Indeed in case of eigenvalue with multiplicity > 1; the problemie is numerical challenging and MATLAB might fail to find the cor...
2 giorni fa | 0
Inviato
Free-knot spline approximation
Least squares approximation of 1D data using free-knots spline
3 giorni fa | 24 download |
How "chol" and "qz" MATLAB algorithms are utilised in the "eig" MATLAB function?
See stage 3 described in https://netlib.org/lapack/lug/node56.html or somewhere in this file
6 giorni fa | 0
| accettato
steps to convert spline from B-form to pp-form (fn2fm)
The pp-form stores the polynomial of each each subiterval, the variable is x := (t-ti) where ti is the left knot of interval #i....
6 giorni fa | 0
| accettato
How to extract a matrix of values from cell array of cell arrays of structs
Generate data (Thanks Voss) n1 = 3; n2 = 4; mse = cell(1,n1); for ii = 1:n1 mse{ii} = cell(1,n2); % row vector for...
18 giorni fa | 0
| accettato
Where is dlfeval tracing information stored?
I don't kwow the dlarray class but IMO it looks like the creating function handle f is stored in some sort of private property i...
circa un mese fa | 0
Domanda
Default rank revealing tolerance
In few MATLAB functions such as RANK, PINV, ORTH there is a parameter TOL. MATLAB uses the default value as % tol = max(size(A...
circa un mese fa | 0 risposte | 1
0
risposteplot() and fplot() give different results for the same function
Your coding is wrong: Replace "/" with "./"
circa un mese fa | 0
| accettato
getting warning while using eigs on the matrices obtained from freefem++
Try to follow the suggestion you get " Consider specifying a perturbed numeric sigma value to improve the condition of the matri...
circa un mese fa | 0
cubic spline interpolation - mixed boundary conditions possible?
In principle yes. The spline on the second segment (b,c) are piecewise cubic poynomials; starting from b sequentially to each in...
circa un mese fa | 0
| accettato
How to convert /map uint16 to int16 maintaining the dynamic range so that [0] and [2^16-1] in uint16 beomes [-2^15] and [2^15-1] without going through double
If you have C compiler this simple mex file will do the job: /*****************************************************************...
circa 2 mesi fa | 1
Faster/better conversion than using swapbytes typecast on udp byte datastream?
Try this: %% Exampel data data =[0 5 187 8 1 136 61 48 0 0 0 0 1 67 58 246 255 127 176 76 10 231 55 137 255 240 253 91 255 22...
circa 2 mesi fa | 0
| accettato
How to add extra columns at specified locations
After computing dataset2 dataset = [1, 2, 3, nan, 4, 5, nan, 6, 7]; % ... dataset2 = [2, 5, 7, 8, 4, 8, 10]; do this: da...
circa 2 mesi fa | 0
| accettato
scrit can't error related to Sortrows and matrix
Replace initialization statements sol=[]; % Start with an empty matrix of feasible solutions data = []; with sol=zeros(...
circa 2 mesi fa | 0
Max Recursion even when using clear
Don't name your script function clear.m. In command windows type which clear then rename or remove that file to restore the bu...
circa 2 mesi fa | 0
Upsampling a matrix with zero elements
x = [1 2 3 4; 5 6 7 8] kron(x, [1 0; 0 0])
circa 2 mesi fa | 1
warning in Polyval - Warning: Matrix is singular, close to singular or badly scaled. Results may be inaccurate. RCOND = NaN.
Check your data with this command all(isfinite(rawData(:))) if it returns 0/false then your data is not valid
circa 2 mesi fa | 0
How to detect whether a figure is created by uifigure()
This command sreturns true for uifigure handle fig matlab.ui.internal.isUIFigure(fig)
circa 2 mesi fa | 0
| accettato
Trying to optimise this loop
function WriteOutValuesToAFile(filename,M) fileID = fopen(filename,'wt'); for k=1:size(M,3); s = sprintf('%f,', M(:,:,k))...
circa 2 mesi fa | 0
How to do a layered matrix--vector multiplication without a for loop?
NNN = 10; RR = rand(NNN, 3); TT = rand(3,3,NNN); for iii = 1:1:NNN TRR(iii,:) = TT(:,:,iii) * RR(iii, :).'; % Bug fix ...
circa 2 mesi fa | 2
| accettato
Convert Quaternion to Euler angle extrinsically
Here is the answer by MATLAB code: extrinsic angles is flip intrinsic angles % Generate random unit quaternion q = quaternion(...
circa 2 mesi fa | 1
Why I receive an error when my code is in function but not when he's in editor ?
You could consider to vectorize the test instead of using for loop and the side effect when deleting array element(s). I don't k...
circa 2 mesi fa | 0
Why I receive an error when my code is in function but not when he's in editor ?
Loop in reverse would fix the issue (cross interaction between deletion that makes array strinks and loop index) for i = si...
circa 2 mesi fa | 0
| accettato
Seeking Help: Deleting Redundancy in a Structure Array
a(1).pos=[1,7,1]; a(2).pos=[1,7,1]; a(3).pos=[6,5,5]; a(4).pos=[1,4,3]; a(5).pos=[2,2,2]; P = cat(1, a.pos); [~, I] = un...
circa 2 mesi fa | 0
| accettato
How to generate a random 3D vector with set magnitude?
MagTarget = 10; MagRange = 0.5; n = 1000; m = MagTarget + MagRange * (rand(1,n)-0.5); xyz = randn(3,n); xyz = xyz .* (m ./ ...
circa 2 mesi fa | 2
Interpolation schemes that produce positive second derivatives of the interpolant
You can use approximation spline, just put more (denser) knots than the data points so it actually interpolates. For example us...
circa 2 mesi fa | 0
| accettato