Community Profile

photo

Noor Fatima


Last seen: 6 Monate vor Aktiv seit 2022

Followers: 0   Following: 0

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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 ...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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; ...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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 ...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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);...

etwa 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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 ...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 =[...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort