Community Profile

photo

Bruno Luong


Last seen: Today
1,561 2009 이후 총 참여 횟수

Bruno Luong's 배지

  • Personal Best Downloads Level 4
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Revival Level 1
  • Thankful Level 2
  • Guiding Light
  • 6 Month Streak
  • Knowledgeable Level 4
  • First Answer
  • Speed Demon
  • Solver

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
Remove overlapping intervals from two array intervals without using a loop
You might interest to use my interval-merging FEX

약 8시간 전 | 0

답변 있음
Plotting a smooth curve from points
Direct analytic method using piecewise cublic polynomial. The curve is first-order differentiable, but not second order differen...

약 11시간 전 | 1

| 수락됨

답변 있음
Plotting a smooth curve from points
No extra points needed (but you might add to twist the shape of the curve in the first and last interval), Spline order >= 8th ...

약 20시간 전 | 1

답변 있음
How to calculate the volume enclosed by a set of XYZ points in 3D?
V is the volume between the plane x-y (z==0) and the surface z(x,y) from your data. If you want the volume of the data after su...

1일 전 | 1

| 수락됨

답변 있음
How to triangulate a non-convex ordered set of points?
I recommednd this Mesh2D FEX

1일 전 | 0

답변 있음
Vectorizing issue in MATLAB
It is in general not possible to vectorize sequential calculation like yours.

3일 전 | 0

| 수락됨

답변 있음
How to find out a smallest sub-matrix B from a sparse matrix A which has the equal rank and # of non-zero columns?
Done, B=A (so all rows of A) meets your requirement >> A = [ 1 -1 0 0 0 0 0 0 0 1 ...

4일 전 | 0

| 수락됨

답변 있음
Converting a 3D Matrix to multiple 2D matrices
Assuming A is array 1000 x 1000 x 40 C = num2cell(A,[1 2]);

7일 전 | 1

| 수락됨

답변 있음
Multiply all pages of a matrix
AFAIK there is no alternative way in general; unless your matrices has special property that can use some simplification.

9일 전 | 0

| 수락됨

답변 있음
Using addpath on Compiled Code
I can't see addpath in your snip of code. When you compile the app, all the source mfiles used by you app MUST be found by depe...

9일 전 | 0

답변 있음
Matlab interpolation between two surfaces
Assuming your two original surfaces are z1 and z2, juts pick w scalar in (0,1) interval, zinterp = (1-w)*z1 + w*z2; If w == 0 ...

9일 전 | 0

답변 있음
Matlab executable not running on remote access files
"I would like to change the directories for reading and writing theses files." IIRC the cd command is non effective in deployed...

9일 전 | 0

질문


Answers editor seems to be broken
I can't see the editor tool in some PC display config + Firefox After a simple view of the thread it ask me as if I would edit ...

10일 전 | 답변 수: 1 | 0

1

답변

질문


Is FORMAT DEBUG still any useful?
Can someone has an explanation for this (R2020B) clear clc x=1; y=x; x=x+1; format debug y x that produces y = ...

11일 전 | 답변 수: 1 | 1

1

답변

답변 있음
Two linear equation with absolute value equation
Correct minimum norm solution is xmin = 90.0000 -40.0000 5.0000 5.0000 normxmin = 98.7421 obtain...

11일 전 | 1

| 수락됨

답변 있음
Rearranging a 512x64 matrix into a 32x1024 matrix
% Assuming A is your input matrix of size 512 x 64 % such as % A=reshape(1:512*64,64,512)'; B = reshape(permute(reshape(A,[...

11일 전 | 1

| 수락됨

답변 있음
generate random number with total sum is 10
For the case of more generic sum of n variables Xi is equal to 1. If the apriori distribution is supposed to be uniform density...

11일 전 | 1

답변 있음
Is fmincon appropriate for optimizing vector-valued optimization variables (scalar obj. function)?
Yes fmincon supposes to handle optimization problems on objective function that depends on vector of real values. There is no re...

12일 전 | 0

| 수락됨

답변 있음
How do I map array values on a logical array
Result = zeros(size(B)); Result(B==1)=A

12일 전 | 1

답변 있음
Find the line where 2 planes intersect
% Planes implicit equations are: % a1*x + b1*y + c1*z = d1; % a2*x + b2*y + c2*z = d2; % a1 = 256; b1=0; c1=0; d1=0; ...

12일 전 | 1

| 수락됨

답변 있음
subsref works as not expected
I knew it for sometime: subsref never work to emulate comma list (not sure if it's documented), because a non trivial comma list...

12일 전 | 0

| 수락됨

답변 있음
Quadratic-Equation-Constrained Optimization
There is https://www.mathworks.com/help/optim/ug/coneprog.html but only for linear objective function. You migh iterate on b...

12일 전 | 0

| 수락됨

답변 있음
Resize and sum a matrix
If you isist on "resize" array1 =[1 2 3 4 5 6 7 8 9 10 11 12 13 ...

13일 전 | 0

답변 있음
Preallocating a structure with a changing number of rows within a field
There is no need to preallocate a field (or in fact any variable) if you don't grow the array itself in a loop, which is your ca...

15일 전 | 0

답변 있음
Find out number of bits needed to represent a positive integer in binary?
>> I=0:9 I = 0 1 2 3 4 5 6 7 8 9 >> n=nextpow2(I+1) n = 0 1 ...

15일 전 | 1

답변 있음
How to use min function so that it stops at the first minimum value in a column matrix, stores values, and then continues going until it finishes the entire matrix? (details below)
A=[0.200 0.300 0.400 0.001 0.002 0.003 0.004 0.003 0.002 0.001] imin=find(A==min(A)); lgt=diff(union(imin,[0 length(A)])) C...

15일 전 | 0

답변 있음
Generation of Conditional Random Variables
I don't quite understand what you want but from your request you seem to compute X1 = C1 * S X2 = C2 * S ... X16 = C16 * S ...

15일 전 | 0

| 수락됨

답변 있음
Obtain a random number from a truncated normal distribution
In theory if you range is something +/-0.9*0.03 the maximum possible standard deviation you can reach with a truncated gaussian ...

16일 전 | 0

제출됨


find_idx
Fractional binning

17일 전 | 다운로드 수: 3 |

답변 있음
Convert a symmetrical 4D array into a vector of it's degrees of freedom and vice-versa
% A = zeros(7,7,7,7); n = length(A); % 7 m = ndims(A); % 4 C = cell(1,m); [C{:}] = ndgrid(1:n); I = reshape(cat(m+1,C{...

17일 전 | 0

| 수락됨

Load more