Community Profile

photo

Noor Fatima


Last seen: 6 mesi fa Attivo dal 2022

Followers: 0   Following: 0

Statistiche

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda


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

oltre un anno fa | 2 risposte | 0

2

risposte

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

oltre un anno 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...

oltre un anno 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...

oltre un anno 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 ...

oltre un anno 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...

oltre un anno 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...

oltre un anno 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 ...

oltre un anno 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...

oltre un anno 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...

oltre un anno 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...

quasi 2 anni 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);...

circa 2 anni 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 ...

circa 2 anni 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 =[...

circa 2 anni fa | 1 risposta | 0

1

risposta