Community Profile

# Noor Fatima

Last seen: Today Aktiv seit 2022

#### Statistics

Abzeichen anzeigen

#### Content Feed

Anzeigen nach

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

etwa 17 Stunden 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; ...

etwa 2 Monate 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...

etwa 2 Monate 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...

etwa 2 Monate 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 ...

etwa 2 Monate 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...

etwa 2 Monate 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...

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

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

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

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

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

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

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

9 Monate vor | 1 Antwort | 0

Antwort