[Scilab-users] convert matlab code to scilab

Stéphane Mottelet stephane.mottelet at utc.fr
Wed Oct 16 11:50:08 CEST 2019


Hello

Le 16/10/2019 à 11:46, P M a écrit :
> Dear experts,
>
> trying to convert a matlab code to scilab I come across following line:
> [~,~,Minstances_hat]  =  unique(B(:));
> How to replace the "~" symbol?

by dummy names, e.g.

[ans,ans,Minstances_hat]  =  unique(B(:)); There is no equivalent mechanism in Scilab.

> B is the blue channel of a RGB image...hence a m x n matrix of 
> integers (type(B) = 8 )
> Thank you,
> Philipp
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users

-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20191016/9a41462b/attachment.htm>


More information about the users mailing list