photo

Dennis_Pana


Attivo dal 2015

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 6 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 8 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 8 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 8 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

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

oltre 8 anni fa | 0

| accettato

Domanda


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

oltre 8 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 9 anni fa | 4 risposte | 0

4

risposte

Domanda


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

oltre 9 anni fa | 1 risposta | 1

1

risposta