photo

Noor Fatima


Last seen: 1 year ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How to convert decimal to binary without adding leading zeros?
A =[170;149;219;21;0;62;255]; B = dec2bin(A) '10101010' '10010101' '11011011' '00010101' '00000000' '00111110' '11111111...

2 years ago | 2 answers | 0

2

answers

Question


How to save the output of each loop in .csv file?
for i = 1:20 output = myfunction(a, b, c); Result(:,i) = output; writematrix(output, 'Output_i.csv') end The ...

2 years ago | 2 answers | 0

2

answers

Question


How to set stopping condition on time in nested for loop?
tic Time = 0; flag = 0; for kk = 1: n some operations for ii = 1:m if Time >= Time_limit flag = 1; ...

2 years ago | 2 answers | 0

2

answers

Question


How to note the time of specific output in MATLAB?
tic Time = 0; for ii = 1:n if Time >= 20 break end Output = .... Time = toc; end The output ran...

2 years ago | 1 answer | 0

1

answer

Question


Sort rows without sortrows function in MATLAB
The following is the data set say A A = 9361 8366 9361 28317 9364 27948 9364 8735 9365...

2 years ago | 1 answer | 0

1

answer

Question


How to sort rows?
>> A = [1 2; 4 3; 3 5; 2 1; 1 3; 4 5] A = 1 2 4 3 3 5 2 1 1 3 4 ...

2 years ago | 1 answer | 0

1

answer

Question


How to take the sum of all the values in an array ?
I have a Data in java. math.BigInteger format. Data = java.math.BigInteger[]: [java.math.BigInteger] [java.mat...

2 years ago | 1 answer | 0

1

answer

Question


If one coordinate of the point is given how to find another coordinate?
if a = 9361; How to find b such that b^2 = (9361)^3 + 23698* 9361 + 9684 (mod 36683) I have tried the following b^2 = mo...

2 years ago | 2 answers | 0

2

answers

Question


How to apply stop time condition with multiple time intervals?
n=100; tic Time = 0; for i = 1:n if Time >= 35 fprintf('You run out of time') break end ...

2 years ago | 1 answer | 0

1

answer

Question


How to terminate the MATLAB code?
I'm running the following code n = 10000000; a = 3.8; x(1) = 0.5; tic for i=1:n x(i+1)=a*x(i)*(1-x(i)); end Time = t...

2 years ago | 1 answer | 0

1

answer

Question


How to remove leading zeros in decimal representation?
A = [23, 15, 256, 75]; B= dec2bin(A) B = 4×9 char array '000010111' '000001111' '100000000' '001001011' But I'm inte...

2 years ago | 2 answers | 0

2

answers

Question


Error using integer wavelet transform
I'm interested in decomposing the image using integer wavelet transform. I have tried the following liftscheme = liftwav...

2 years ago | 1 answer | 0

1

answer

Question


How to apply the condition on data?
I have arrays of binary numbers I want to remove leading zeros A = ['1001','0010','0'] B= '10101' for i=1:3 a1 = A(i);...

2 years ago | 0 answers | 0

0

answers

Question


How to interchange entries of a n array?
X = [ 4 2 3 6 5 1 ]; x1 = [2 3 1 2]; The following code integange entries of X based on x1 Xnew = X ; for ii = 1:numel(x1 ...

2 years ago | 1 answer | 0

1

answer

Question


How to interchange elements of an array?
X = [ 4 2 3 6 5 1] x1 = [2 3 1 2] I want to interchange entries of X based on x1, that is Output X =[...

2 years ago | 1 answer | 0

1

answer