(adsbygoogle = window.adsbygoogle || []).push({}); I have 2 vectors:

a = 1.0e-04*[0.110000000000000 0.140000000000000 0.140000000000000 0.140000000000000];

b = [0.000011000000000 0.000014000000000 0.000014000000000 0.000014000000000];

by look at by eyes, it seems similar; but when I use this command:

a == b

then I got:

ans =

1×4 logical array

0 0 0 0

The expectation is:

ans =

1×4 logical array

1 1 1 1

Does anyone knows what wrong with this command in the matlab?

Thank you.

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# I Why 2 vectors are not the same in matlab?

Tags:

Have something to add?

Draft saved
Draft deleted

Loading...

Similar Threads - vectors same matlab | Date |
---|---|

I Vector spaces and subspaces | Mar 8, 2018 |

A Angular Moment Operator Vector Identity Question | Feb 10, 2018 |

I How does the Vector Laplacian come about? | Oct 29, 2017 |

I A question about Vector Analysis problems | Oct 4, 2017 |

B Is the derivative of a function everywhere the same on a given curve? | Mar 26, 2017 |

**Physics Forums - The Fusion of Science and Community**