[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: select equal element between matrices
From: |
gigiolone123 |
Subject: |
Re: select equal element between matrices |
Date: |
Mon, 11 Feb 2019 01:46:40 -0600 (CST) |
Hi francesco
thank you for answer
i've this vector:
a=[3 2 5 5 6 6 2 3]
b=[0 1 0 0 1 1 0 0]
c=["a","b","a","a","b","c","a","a"]
i want to concatening element of string:
column 1: a(3)+b(0)+c("a") = 30a
column 2: a(2)+b(1)+c("b") = 21b
column 3: a(5)+b(0)+c("a") = 50b
…
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html