Community Profile

photo

Dennis_Pana


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


3D surface plot using 4 vectors.
I have 4 vectors of data and i want to create a surface plot. For example a,b,w are the dimensions of a wall and i want the surf...

6 years ago | 0 answers | 0

0

answers

Question


Saving a matrix that have been created in a function in order to use it later.
I use fmincon to minimize a function subject to nonlinear constraints. Every time a fmincon calls for a constraint evaluation i ...

7 years ago | 1 answer | 0

1

answer

Question


Import 3 values from a text file to matlab code
I have the following text file with name 'Inputs' points = 9 dimensions = 3 numberofgroups = 1 How can we ...

7 years ago | 0 answers | 0

0

answers

Question


Round coefficients of symbolic numbers
Hi everyone, I get the following response: b2^2 - 0.000000000000000000000000000000020000000474844559807221654731763*b2*b...

7 years ago | 0 answers | 0

0

answers

Question


Calculation of central moments of an expression with symbolic values.
Does anybody know how we can calculate the mean, variance, skewness and kurtosis of the following expression: 1.0*b1 + b2*x...

7 years ago | 0 answers | 0

0

answers

Question


Faster way to calculate the euclidean distance of a matrix than pdist and squareform?
design=[0.625 0.875;0.25 0.75;0.375 0.125;0.875 0.375;0.125 0.625; 0 0;0.5 0.5;0.75 0.25;0.6875 0.0625;0.0625 0.812...

8 years ago | 1 answer | 0

1

answer

Answered
Any ideas how i can reduce the execution time?
xx=bsxfun(@minus,newdes(s,:),newdes(1:v,:)); sbs=xx.^2; dis(:,1)=sum(sbs,2); That is what i was loo...

8 years ago | 0

| accepted

Question


Any ideas how i can reduce the time effort?
design=[0.6250 0.8750; 0.2500 0.7500; 0.3750 0.1250; 0.8750 0.3750; 0.1250 0.6250; 0 0; 0.5000 0.5000; 0.7500 0.2500; 0....

8 years ago | 0 answers | 0

0

answers

Question


Any ideas how i can reduce the execution time?
newdes=[0.6250 0.8750; 0.2500 0.7500; 0.3750 0.1250; 0.8750 0.3750; 0.1250 0.6250; 0 0; 0.5000 0.5000; 0.7500 0....

8 years ago | 2 answers | 0

2

answers

Question


Improve the code's time of execution. I want to avoid the for loops and use element by element calculations. Do you guys have something in mind?? Thank you in advance.
for i=1:v for j=1:v for k=1:m if dm==k && j<=n && A~=j ddii=((design(i,k)-...

8 years ago | 1 answer | 0

1

answer

Question


Create random permutations of an array of decimals or a vector of decimals.
If i have the following vector [0;0.25;0.75;0.5], how i can create 2 or 3 or n permutations? I cannot use randperm, because work...

8 years ago | 1 answer | 0

1

answer

Question


Find Function in a for loop - store rows and columns
for i=1:p Min_Dis2(exchanges,i)=min(nonzeros(distance2(:,:,i))); [row,col]=find(distance2(:,:,i)==Min_Dis2(exch...

8 years ago | 1 answer | 0

1

answer

Question


I have a 25by3 matrix and i want to remove randomly 10 rows (I have already completed this part). The problem is that i want the original matrix which is 25by3 to be 15by3 after removing 10 rows. Thats my question
Thats my code X=[x1 x2 x3]; %25by3 matrix % k = randperm(size(X,1)); Ex_Ran= X(k(1:10),:)%extract 10 rows random...

9 years ago | 4 answers | 0

4

answers

Question


Improper assignment with rectangular empty matrix.
Hi! I am trying to find out what causes that error. Can anybody give me an idea? Thats my code. clc; clear all; ...

9 years ago | 1 answer | 1

1

answer