Let’s say we have 1101 for example. We were told two things.
First being that 1101 is actually 2^3+2^2+0+2^0=13
Second case is where it is a negative number. In that case, we were told that the first digit of the binary determines the sign of the number and the rest of the digits determine the magnitude. For example 1101 is a 4 bit binary where the 1st ‘1’ denotes it being negative and the rest 101 denotes the magnitude = 2^2+0+2^0=5
Second part of the doubt is that here again we were told that we find the magnitude by using 2’s compliment notation.
So how is the right way to go about it?