Community Profile

Noor Fatima

Last seen: 3 giorni fa Attivo dal 2022

Content Feed

Visto da

Domanda

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

circa un mese fa | 2 risposte | 0

2

risposte

Domanda

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

circa un mese fa | 1 risposta | 0

1

risposta

Domanda

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

circa 2 mesi fa | 1 risposta | 0

1

risposta

Domanda

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

circa 2 mesi fa | 1 risposta | 0

1

risposta

Domanda

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

circa 2 mesi fa | 1 risposta | 0

1

risposta

Domanda

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

circa 2 mesi fa | 2 risposte | 0

2

risposte

Domanda

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 mesi fa | 1 risposta | 0

1

risposta

Domanda

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 mesi fa | 1 risposta | 0

1

risposta

Domanda

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

4 mesi fa | 2 risposte | 0

2

risposte

Domanda

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

5 mesi fa | 1 risposta | 0

1

risposta

Domanda

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

8 mesi fa | 0 risposte | 0

0

risposte

Domanda

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

8 mesi fa | 1 risposta | 0

1

risposta

Domanda

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

8 mesi fa | 1 risposta | 0

risposta