Piero Cimule

4331
Rank
5
Badges
800
Score
1 – 50 of 90

Piero Cimulesubmitted aCommenttoSolution 2593591

d1=sqrt((X(2)-X(1))^2+(Y(2)-Y(1))^2); %distancia de A hasta B d2=sqrt((X(3)-X(1))^2+(Y(3)-Y(1))^2); %distancia de A hasta C d3=sqrt((X(3)-X(2))^2+(Y(3)-Y(2))^2); %distancia de B hasta C s=(d1+d2+d3)/2; %Semiperimetro y=sqrt(s*(s-d1)*(s-d2)*(s-d3)) %Fórmula de Herón

on 21 Jun 2020

Piero CimulereceivedCUP Challenge Masterbadge

on 21 Jun 2020

Piero Cimulesubmitted aCommenttoSolution 2590300

y=sqrt((x^2+(x+1)^2)/4);

on 20 Jun 2020

Piero Cimulesubmitted aCommenttoSolution 2590249

if (a^2+b^2-c^2==0) flag = true; else flag = false; end

on 20 Jun 2020

Piero Cimulesubmitted aCommenttoSolution 2590228

M=[a,b,c,d] c=nchoosek(M,3); c=c(sum(c(:,1:2).^2,2)-c(:,3).^2==0,:); if isempty(c) flag = false; else flag = true; end

on 20 Jun 2020

Piero Cimulesubmitted aCommenttoSolution 2590144

flag = false; A = (acos((b^2+c^2-a^2)/(2*b*c)))*180/pi; B = (acos((a^2+c^2-b^2)/(2*a*c)))*180/pi; C=180-A-B; D=[A,B,C]; if any(D==90) flag = true; end

on 20 Jun 2020

Piero Cimulesubmitted aCommenttoSolution 2590069

a = sqrt(c^2-b^2);

on 20 Jun 2020

Piero CimulereceivedCommunity Group Solverbadge forBasics on Vectors

on 20 Jun 2020

Piero Cimulesubmitted aCommenttoSolution 2589271

y=[0:2:n]

on 20 Jun 2020

Piero Cimulesubmitted aCommenttoSolution 2589259

y=flip(x);

on 20 Jun 2020

Piero Cimulesubmitted aCommenttoSolution 2589253

y=isvector(x);

on 20 Jun 2020

Piero Cimulesubmitted aCommenttoSolution 2589244

y=max(x,[],'all');

on 20 Jun 2020

Piero Cimulesubmitted aCommenttoSolution 2589232

y = dot(x,y)

on 20 Jun 2020

Piero Cimulesubmitted aCommenttoSolution 2586403

vec = randperm(n);

on 20 Jun 2020

Piero Cimulesubmitted aCommenttoSolution 2586394

y=0; for index=1:length(x) y = y + str2num(x(index)); end

on 20 Jun 2020

Piero Cimulesubmitted aCommentto解决方案2586337

K = kron(1:n,1:n) m = reshape(K,n,n)

on 19 Jun 2020

1 – 50 of 90