IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

MATLAB Discussion :

Problème de multiple


Sujet :

MATLAB

  1. #1
    Membre confirmé
    Homme Profil pro
    Étudiant
    Inscrit en
    Mars 2013
    Messages
    85
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Mars 2013
    Messages : 85
    Par défaut Problème de multiple
    Bonjour !

    Je souhaite ajouter toutes les 3,6 et 9 lignes d'une matrice les valeurs qu'elles contiennent et en faire une moyenne mais j'ai un message d'erreur concernant le "+" entre chaque lignes, je ne comprend pas pourquoi ?

    Voici mon code :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    P=menu('A combien doit s''élever le lissage ?','Lissage par 3','Lissage par 6','Lissage par 9');
    if P==1
        for i=1:LIGNE
            switch mod(i,3)
                case 0
                    matrice(:,1)=[];
                    matriceLISSE(i/3,:)=(matrice(i,:)+matrice(i-1,:)+matrice(i-2,:))/3;
                    Excel.Worksheets.Item(3).Range('A:E').Value=matriceLISSE;
                otherwise
            end
        end
    elseif P==2
        for i=1:LIGNE
            switch mod(i,6)
                case 0
                    matrice(:,1)=[];
                    matriceLISSE(i/6,:)=(matrice(i,:)+matrice(i-1,:)+matrice(i-2,:)+matrice(i-3,:)+matrice(i-4,:)+matrice(i-5,:))/6;
                    Excel.Worksheets.Item(3).Range('A:E').Value=matriceLISSE;
                otherwise
            end
        end
    elseif P==3
        for i=1:LIGNE
            switch mod(i,9)
                case 0
                    matrice(:,1)=[];
                    matriceLISSE(i/9,:)=(matrice(i,:)+matrice(i-1,:)+matrice(i-2,:)+matrice(i-3,:)+matrice(i-4,:)+matrice(i-5,:)+matrice(i-6,:)+matrice(i-7,:)+matrice(i-8,:))/9;
                    Excel.Worksheets.Item(3).Range('A:E').Value=matriceLISSE;
                otherwise
            end
        end
    end
    ??? Undefined function or method 'plus' for input arguments of type 'cell'.
    Ma matrice est composé de 6 colonnes et X lignes à la base. Dans l'exemple que j'utilise : <194x6 cell>.

    Quelqu'un sait pourquoi ce message d'erreur s'affiche ??

    Merci.

    Tom

  2. #2
    Invité
    Invité(e)
    Par défaut
    Bonjour,

    Que contient chaque cellule ?

  3. #3
    Membre confirmé
    Homme Profil pro
    Étudiant
    Inscrit en
    Mars 2013
    Messages
    85
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Mars 2013
    Messages : 85
    Par défaut
    Elle contient un chiffre, par exemple :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    >> matrice(1,:)
     
    ans = 
     
      Columns 1 through 4
     
        '791796 BAS 03'    [191.6959]    [131.6959]    [1.0337]
     
      Columns 5 through 6
     
        [1.9396e+003]    [1.5278]
    J'ai supprimé la colonne 1 donc il ne me reste que des chiffres !

  4. #4
    Invité
    Invité(e)
    Par défaut
    Dans ce cas, utilise les accolades au lieu des parenthèses pour accéder aux valeurs.
    Comment accéder aux valeurs des tableaux de cellules ?

  5. #5
    Membre confirmé
    Homme Profil pro
    Étudiant
    Inscrit en
    Mars 2013
    Messages
    85
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Mars 2013
    Messages : 85
    Par défaut
    J'ai essayé ça oui mais ça m'affiche encore un message d'erreur et là je sais vraiment pas pourquoi !

    J'ai essayé avec une seule opération et ça me donne :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    >> matrice{i,:}
    
    ans =
    
      193.3577
    
    
    ans =
    
      133.3577
    
    
    ans =
    
        1.4058
    
    
    ans =
    
      2.6006e+003
    
    
    ans =
    
        1.8341
    
    >> matrice{i,:}+matrice{i,:}
    ??? Error using ==> plus
    Too many input arguments.

  6. #6
    Membre confirmé
    Homme Profil pro
    Étudiant
    Inscrit en
    Mars 2013
    Messages
    85
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Mars 2013
    Messages : 85
    Par défaut
    J'ai réussi à répondre à mon problème c'est bon !

    Par contre, j'en profite pour vous demander si vous auriez une idée si le total n'est pas divisible par un multiple de 3. Comment est ce que je pourrais faire ?

    Je pense que le mieux serait de faire les additions jusqu'au maximum et la dernière ou les 2 dernières mesures qu'il reste, de les ajouter ensemble. A votre avis, comment est ce que je pourrais arriver à faire ça ?

    Merci, j'espère que ça sera pas trop compliqué ^^

  7. #7
    Rédacteur/Modérateur

    Avatar de Jerome Briot
    Homme Profil pro
    Freelance mécatronique - Conseil, conception et formation
    Inscrit en
    Novembre 2006
    Messages
    20 317
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Freelance mécatronique - Conseil, conception et formation

    Informations forums :
    Inscription : Novembre 2006
    Messages : 20 317
    Par défaut
    Citation Envoyé par Tom dB Voir le message
    J'ai réussi à répondre à mon problème c'est bon !
    Sans doute grace à ceci :
    Citation Envoyé par Dut Voir le message
    Et au passage dans la précédente discussion tu a écris que le nombre de colonnes était fixe entre les différents classeurs Excel.

    Tu peux donc remplacer le tableau de cellules par un simple tableau :

    Citation Envoyé par Tom dB Voir le message
    si le total n'est pas divisible par un multiple de 3. Comment est ce que je pourrais faire ?
    Sans savoir à quoi correspondent les données que tu manipules, ni les sommes associées, difficile de te dire exactement quoi faire...

  8. #8
    Membre confirmé
    Homme Profil pro
    Étudiant
    Inscrit en
    Mars 2013
    Messages
    85
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Mars 2013
    Messages : 85
    Par défaut
    J'ajoute des données de ce style :

    194.2966185 134.2966185 1.667945538 3056.566076 2.40840857
    194.5937829 134.5937829 1.520206198 3129.838209 2.257112889
    194.9934108 134.9934108 1.98961084 3863.386674 2.980178953
    193.4882507 133.4882507 1.40423262 3061.002512 2.182903976
    193.8804412 133.8804412 1.656450891 3276.990697 2.438821226
    191.9184341 131.9184341 1.087768206 2349.421535 1.501914276
    194.8550944 134.8550944 1.851031881 3722.951882 2.938368607
    195.7970674 135.7970674 1.769395283 3618.567596 2.668667052
    193.4905759 133.4905759 1.359810594 2701.471429 1.881788287
    194.2054153 134.2054153 1.964606266 3790.7356 3.291435733

    Elles sont dans une matrice. Je sais pas ce qu'il te faut comme autres détails ?

  9. #9
    Rédacteur/Modérateur

    Avatar de Jerome Briot
    Homme Profil pro
    Freelance mécatronique - Conseil, conception et formation
    Inscrit en
    Novembre 2006
    Messages
    20 317
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Freelance mécatronique - Conseil, conception et formation

    Informations forums :
    Inscription : Novembre 2006
    Messages : 20 317
    Par défaut
    Quel est l'intérêt de sommer les données 3 par 3 ?

  10. #10
    Membre confirmé
    Homme Profil pro
    Étudiant
    Inscrit en
    Mars 2013
    Messages
    85
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Mars 2013
    Messages : 85
    Par défaut
    Faire une carte de contrôle. Lorsque j'ai une tonne de mesures comme ceci, au bout de plusieurs semaines j'aimerais bien tout regrouper sur un seul graph. Donc j'aimerais les sommer pour voir apparaitre une certaine tendance!

  11. #11
    Membre confirmé
    Homme Profil pro
    Étudiant
    Inscrit en
    Mars 2013
    Messages
    85
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Mars 2013
    Messages : 85
    Par défaut
    Pas d'idées ? :p

    ou sinon peut être qu vous ne comprenez pas trop le système que j'ai ?

  12. #12
    Rédacteur/Modérateur

    Avatar de Jerome Briot
    Homme Profil pro
    Freelance mécatronique - Conseil, conception et formation
    Inscrit en
    Novembre 2006
    Messages
    20 317
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Freelance mécatronique - Conseil, conception et formation

    Informations forums :
    Inscription : Novembre 2006
    Messages : 20 317
    Par défaut
    Je ne vois vraiment pas où se situe le problème.

    Si tu as énormément de valeur, tu n'es pas à deux lignes près, si ?

    Donc tu prends les n premières lignes multiple de trois.

    Non ?

  13. #13
    Membre confirmé
    Homme Profil pro
    Étudiant
    Inscrit en
    Mars 2013
    Messages
    85
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Mars 2013
    Messages : 85
    Par défaut
    Salut !

    J'ai trouvé une solution !

    C'est bon j'ai plus de soucis !

    Mon code :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    if P==1
        if rem(LIGNE,3)==0
            for i=1:LIGNE
                switch mod(i,3)
                    case 0
                        matriceLISSE(i/3,:)=([matrice{i,:}]+[matrice{i-1,:}]+[matrice{i-2,:}])/3;
                        range=sprintf('%c%d:%c%d','A'+0,1,'A'+4,(LIGNE/3));
                        Excel.Worksheets.Item(3).Range(range).Value=matriceLISSE;
                    otherwise
                end
            end
        elseif rem(LIGNE-1,3)==0
            for i=1:(LIGNE-1)
                switch mod(i,3)
                    case 0
                        matriceLISSE1(i/3,:)=([matrice{i,:}]+[matrice{i-1,:}]+[matrice{i-2,:}])/3;
                    otherwise
                end
            end
            matriceLISSE2=[matrice{i+1,:}];
            matriceLISSE=[matriceLISSE1; matriceLISSE2];
            range=sprintf('%c%d:%c%d','A'+0,1,'A'+4,((i/3)+1));
            Excel.Worksheets.Item(3).Range(range).Value=matriceLISSE;
        elseif rem(LIGNE-2,3)==0
            for i=1:(LIGNE-2)
                switch mod(i,3)
                    case 0
                        matriceLISSE1(i/3,:)=([matrice{i,:}]+[matrice{i-1,:}]+[matrice{i-2,:}])/3;
                    otherwise
                end
            end
            matriceLISSE2(1,:)=([matrice{i+1,:}]+[matrice{i+2,:}])/2;
            matriceLISSE=[matriceLISSE1; matriceLISSE2];
            range=sprintf('%c%d:%c%d','A'+0,1,'A'+4,((i/3)+1));
            Excel.Worksheets.Item(3).Range(range).Value=matriceLISSE;
        end
     
    elseif P==2
        if rem(LIGNE,5)==0
            for i=1:LIGNE
                switch mod(i,5)
                    case 0
                        matriceLISSE(i/5,:)=([matrice{i,:}]+[matrice{i-1,:}]+[matrice{i-2,:}]+[matrice{i-3,:}]+[matrice{i-4,:}])/5;
                        range=sprintf('%c%d:%c%d','A'+0,1,'A'+4,(LIGNE/5));
                        Excel.Worksheets.Item(3).Range(range).Value=matriceLISSE;
                    otherwise
                end
            end
        elseif rem(LIGNE-1,5)==0
            for i=1:(LIGNE-1)
                switch mod(i,5)
                    case 0
                        matriceLISSE(i/5,:)=([matrice{i,:}]+[matrice{i-1,:}]+[matrice{i-2,:}]+[matrice{i-3,:}]+[matrice{i-4,:}])/5;
                    otherwise
                end
            end
            matriceLISSE2=[matrice{i+1,:}];
            matriceLISSE=[matriceLISSE1; matriceLISSE2];
            range=sprintf('%c%d:%c%d','A'+0,1,'A'+4,((i/5)+1));
            Excel.Worksheets.Item(3).Range(range).Value=matriceLISSE;
        elseif rem(LIGNE-2,5)==0
            for i=1:(LIGNE-2)
                switch mod(i,5)
                    case 0
                        matriceLISSE(i/5,:)=([matrice{i,:}]+[matrice{i-1,:}]+[matrice{i-2,:}]+[matrice{i-3,:}]+[matrice{i-4,:}])/5;
                    otherwise
                end
            end
            matriceLISSE2(1,:)=([matrice{i+1,:}]+[matrice{i+2,:}])/2;
            matriceLISSE=[matriceLISSE1; matriceLISSE2];
            range=sprintf('%c%d:%c%d','A'+0,1,'A'+4,((i/5)+1));
            Excel.Worksheets.Item(3).Range(range).Value=matriceLISSE;
        elseif rem(LIGNE-3,5)==0
            for i=1:(LIGNE-3)
                switch mod(i,5)
                    case 0
                        matriceLISSE(i/5,:)=([matrice{i,:}]+[matrice{i-1,:}]+[matrice{i-2,:}]+[matrice{i-3,:}]+[matrice{i-4,:}])/5;
                    otherwise
                end
            end
            matriceLISSE2(1,:)=([matrice{i+1,:}]+[matrice{i+2,:}+[matrice{i+3,:}])/3;
            matriceLISSE=[matriceLISSE1; matriceLISSE2];
            range=sprintf('%c%d:%c%d','A'+0,1,'A'+4,((i/5)+1));
            Excel.Worksheets.Item(3).Range(range).Value=matriceLISSE;
        elseif rem(LIGNE-4,5)==0
            for i=1:(LIGNE-4)
                switch mod(i,5)
                    case 0
                        matriceLISSE(i/5,:)=([matrice{i,:}]+[matrice{i-1,:}]+[matrice{i-2,:}]+[matrice{i-3,:}]+[matrice{i-4,:}])/5;
                    otherwise
                end
            end
            matriceLISSE2(1,:)=([matrice{i+1,:}]+[matrice{i+2,:}+[matrice{i+3,:}]+[matrice{i+4,:}])/4;
            matriceLISSE=[matriceLISSE1; matriceLISSE2];
            range=sprintf('%c%d:%c%d','A'+0,1,'A'+4,((i/5)+1));
            Excel.Worksheets.Item(3).Range(range).Value=matriceLISSE;
        end
     
    elseif P==3
        if rem(LIGNE,8)==0
            for i=1:LIGNE
                switch mod(i,8)
                    case 0
                        matriceLISSE(i/8,:)=([matrice{i,:}]+[matrice{i-1,:}]+[matrice{i-2,:}]+[matrice{i-3,:}]+[matrice{i-4,:}]+[matrice{i-5,:}]+[matrice{i-6,:}]+[matrice{i-7,:}])/8;
                        range=sprintf('%c%d:%c%d','A'+0,1,'A'+4,(LIGNE/8));
                        Excel.Worksheets.Item(3).Range(range).Value=matriceLISSE;
                    otherwise
                end
            end
        elseif rem(LIGNE-1,8)==0
            for i=1:(LIGNE-1)
                switch mod(i,8)
                    case 0
                        matriceLISSE(i/8,:)=([matrice{i,:}]+[matrice{i-1,:}]+[matrice{i-2,:}]+[matrice{i-3,:}]+[matrice{i-4,:}]+[matrice{i-5,:}]+[matrice{i-6,:}]+[matrice{i-7,:}])/8;
                    otherwise
                end
            end
            matriceLISSE2=[matrice{i+1,:}];
            matriceLISSE=[matriceLISSE1; matriceLISSE2];
            range=sprintf('%c%d:%c%d','A'+0,1,'A'+4,((i/8)+1));
            Excel.Worksheets.Item(3).Range(range).Value=matriceLISSE;
        elseif rem(LIGNE-2,8)==0
            for i=1:(LIGNE-2)
                switch mod(i,8)
                    case 0
                        matriceLISSE(i/8,:)=([matrice{i,:}]+[matrice{i-1,:}]+[matrice{i-2,:}]+[matrice{i-3,:}]+[matrice{i-4,:}]+[matrice{i-5,:}]+[matrice{i-6,:}]+[matrice{i-7,:}])/8;
                    otherwise
                end
            end
            matriceLISSE2(1,:)=([matrice{i+1,:}]+[matrice{i+2,:}])/2;
            matriceLISSE=[matriceLISSE1; matriceLISSE2];
            range=sprintf('%c%d:%c%d','A'+0,1,'A'+4,((i/8)+1));
            Excel.Worksheets.Item(3).Range(range).Value=matriceLISSE;
        elseif rem(LIGNE-3,8)==0
            for i=1:(LIGNE-3)
                switch mod(i,8)
                    case 0
                        matriceLISSE(i/8,:)=([matrice{i,:}]+[matrice{i-1,:}]+[matrice{i-2,:}]+[matrice{i-3,:}]+[matrice{i-4,:}]+[matrice{i-5,:}]+[matrice{i-6,:}]+[matrice{i-7,:}])/8;
                    otherwise
                end
            end
            matriceLISSE2(1,:)=([matrice{i+1,:}]+[matrice{i+2,:}+[matrice{i+3,:}])/3;
            matriceLISSE=[matriceLISSE1; matriceLISSE2];
            range=sprintf('%c%d:%c%d','A'+0,1,'A'+4,((i/8)+1));
            Excel.Worksheets.Item(3).Range(range).Value=matriceLISSE;
        elseif rem(LIGNE-4,8)==0
            for i=1:(LIGNE-4)
                switch mod(i,8)
                    case 0
                        matriceLISSE(i/8,:)=([matrice{i,:}]+[matrice{i-1,:}]+[matrice{i-2,:}]+[matrice{i-3,:}]+[matrice{i-4,:}]+[matrice{i-5,:}]+[matrice{i-6,:}]+[matrice{i-7,:}])/8;
                    otherwise
                end
            end
            matriceLISSE2(1,:)=([matrice{i+1,:}]+[matrice{i+2,:}+[matrice{i+3,:}]+[matrice{i+4,:}])/4;
            matriceLISSE=[matriceLISSE1; matriceLISSE2];
            range=sprintf('%c%d:%c%d','A'+0,1,'A'+4,((i/8)+1));
            Excel.Worksheets.Item(3).Range(range).Value=matriceLISSE;
        elseif rem(LIGNE-5,8)==0
            for i=1:(LIGNE-5)
                switch mod(i,8)
                    case 0
                        matriceLISSE(i/8,:)=([matrice{i,:}]+[matrice{i-1,:}]+[matrice{i-2,:}]+[matrice{i-3,:}]+[matrice{i-4,:}]+[matrice{i-5,:}]+[matrice{i-6,:}]+[matrice{i-7,:}])/8;
                    otherwise
                end
            end
            matriceLISSE2(1,:)=([matrice{i+1,:}]+[matrice{i+2,:}+[matrice{i+3,:}]+[matrice{i+4,:}]+[matrice{i+5,:}])/5;
            matriceLISSE=[matriceLISSE1; matriceLISSE2];
            range=sprintf('%c%d:%c%d','A'+0,1,'A'+4,((i/8)+1));
            Excel.Worksheets.Item(3).Range(range).Value=matriceLISSE;
        elseif rem(LIGNE-6,8)==0
            for i=1:(LIGNE-6)
                switch mod(i,8)
                    case 0
                        matriceLISSE(i/8,:)=([matrice{i,:}]+[matrice{i-1,:}]+[matrice{i-2,:}]+[matrice{i-3,:}]+[matrice{i-4,:}]+[matrice{i-5,:}]+[matrice{i-6,:}]+[matrice{i-7,:}])/8;
                    otherwise
                end
            end
            matriceLISSE2(1,:)=([matrice{i+1,:}]+[matrice{i+2,:}+[matrice{i+3,:}]+[matrice{i+4,:}]+[matrice{i+5,:}]+[matrice{i+6,:}])/6;
            matriceLISSE=[matriceLISSE1; matriceLISSE2];
            range=sprintf('%c%d:%c%d','A'+0,1,'A'+4,((i/8)+1));
            Excel.Worksheets.Item(3).Range(range).Value=matriceLISSE;
        elseif rem(LIGNE-7,8)==0
            for i=1:(LIGNE-7)
                switch mod(i,8)
                    case 0
                        matriceLISSE(i/8,:)=([matrice{i,:}]+[matrice{i-1,:}]+[matrice{i-2,:}]+[matrice{i-3,:}]+[matrice{i-4,:}]+[matrice{i-5,:}]+[matrice{i-6,:}]+[matrice{i-7,:}])/8;
                    otherwise
                end
            end
            matriceLISSE2(1,:)=([matrice{i+1,:}]+[matrice{i+2,:}+[matrice{i+3,:}]+[matrice{i+4,:}]+[matrice{i+5,:}+[matrice{i+6,:}]+[matrice{i+7,:}])/7;
                matriceLISSE=[matriceLISSE1; matriceLISSE2];
                range=sprintf('%c%d:%c%d','A'+0,1,'A'+4,((i/8)+1));
                Excel.Worksheets.Item(3).Range(range).Value=matriceLISSE;

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Problème definitions multiple (Makefile?)
    Par zuzuu dans le forum Systèmes de compilation
    Réponses: 2
    Dernier message: 07/12/2006, 14h18
  2. probléme : template multiple et héritage simple.
    Par laetmo dans le forum Langage
    Réponses: 1
    Dernier message: 03/08/2006, 02h44
  3. problème requete multiplication
    Par MichMich29 dans le forum Langage SQL
    Réponses: 28
    Dernier message: 24/05/2006, 10h16
  4. [FLASH MX] Problème onPress multiple
    Par abenhass dans le forum ActionScript 1 & ActionScript 2
    Réponses: 3
    Dernier message: 14/04/2006, 09h25
  5. [KeyEvent] Problème de multiples appels
    Par pierre.zelb dans le forum AWT/Swing
    Réponses: 13
    Dernier message: 11/08/2005, 14h53

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo