# Ammy

**Statistics**

RANK**9,492**

of 257,928

REPUTATION**4**

CONTRIBUTIONS

**81** Questions

**3** Answers

ANSWER ACCEPTANCE **
67.9%
**

VOTES RECEIVED**3**

RANK

of 17,770

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 110,142

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

How to reverse the operation?

Let A = [1 2 5 4 3]; B = [ 2 5 1]; AA = A; for i = 1:numel(B) AA([i B(i)]) = AA([B(i) i]) end Is there reverse way i.e...

1 month ago | 1 answer | 0

### 1

answerQuestion

How to change x-axis ticks labels in stackedplot?

h = stackedplot(rand(6,3)); I want to set x-axis ticks according to my own defined set i.e., instead of 1:6, I want to replace ...

2 months ago | 2 answers | 0

### 2

answersQuestion

Graphs with stacked plot

figure; t=tiledlayout(3,1,'TileSpacing','none'); nexttile; plot(x,y1,x,y2); xticks([]) nexttile; plot(x,y2,x,y3); xtick...

2 months ago | 1 answer | 0

### 1

answerQuestion

How to get back the original matrix?

A=[1 2 3 2;4 1 2 3;3 4 3 2;2 4 1 1]; >> R=[1 3 4 2]; >> B=A(R,:); >> C=B(:)'; >> D=[1 0 0 1 0 1 0 1 0 1 0 0 1 1 0 1]; >> E...

2 months ago | 2 answers | 0

### 2

answersQuestion

How to resolve issue while dealing with larger matrices?

A=randi(16,[4,4]); B=A(:)'; P=randi(16,[1 4]); V=randi(16,[1 4]); B(P)=V; % replace entries at position P with values in V ...

2 months ago | 2 answers | 0

### 2

answersQuestion

How to generate a sequence in MATLAB?

Let m be the size of a sequence, where m is even, How to generate a sequence A = [ 1 , m/2, m, 2, (m/2 -1), (m/2 +1)...

2 months ago | 1 answer | 0

### 1

answerQuestion

How to convert BigInteger into binary?

import java.math.*; >> a=BigInteger('12362534624362643243256346523462'); >> b=toString(a); >> dec2bin(b) Error using dec2bin...

2 months ago | 1 answer | 1

### 1

answerQuestion

How to apply dec2bin to char array?

I have a data as char a ='1234567'; dec2bin(a) gives 6×6 char array '110001' '110010' '110011' '110100' ...

2 months ago | 2 answers | 0

### 2

answersQuestion

How to convert a string into row vector?

a = 753; b= dec2bin(a); b= '1011110001' How can I obtain b as a row vector [1 0 1 1 1 1 0 0 0 1]?

2 months ago | 3 answers | 0

### 3

answersQuestion

How to remove extra numbers to reduce size of vector?

The following code removes extra number from the start of vector A if the size is not divisible by 3, I want to remove extra n...

2 months ago | 1 answer | 0

### 1

answerQuestion

How to concatenate binary strings?

I have binary data 8192x8 char '00000010' '01101111' '00111001' '00111111' '11010110' '01000110...

2 months ago | 3 answers | 0

### 3

answersQuestion

How to apply dec2bin on a string to get a single output?

I want to convert decimal into binary . Since my data is in string like a = '565152197906911714131090579040116886954248101558...

2 months ago | 1 answer | 0

### 1

answerQuestion

How to store the output?

How to store the output of the following for loop ? import java.math.*; a = BigInteger('12345678'); c = Biginteger('674362557...

3 months ago | 2 answers | 0

### 2

answersQuestion

How to replace for loop ?

function [a] =my_function(b,c) a = b+c; end for i=1:10 a = my_function(a,c) end How to replace for loop ?

3 months ago | 1 answer | 0

### 1

answerQuestion

How to find double output?

import java.math.*; >> p=BigInteger('11'); >> m=BigInteger('2'); >> [A,B]=m.gcd(p); Error using java.math.BigInteger/gcd J...

3 months ago | 1 answer | 0

### 1

answerQuestion

How to resolve the problem in for loop?

import java.math.*; A = BigInteger('12345678934'); B = BigInteger('10'); for i =1:double(10) i = BigInteger('i'); ...

3 months ago | 1 answer | 0

### 1

answerQuestion

How to find elements of first matrix based on second matrix?

I have two matrices A and B A = [1 2 3 4 5 6 7 8 9 10]; B = [1 0 0 1 0 1 0 1 1 1]; How to find entries of A coresponsing to '...

3 months ago | 1 answer | 0

### 1

answerQuestion

How to apply a function on a number which is in 'sym' format?

p = sym('2')^100 - 15; results = p_inverse(p-1, p); where the function p_inverse is defined as; function ia = p_inverse(a, p...

3 months ago | 1 answer | 0

### 1

answerQuestion

How to find minimum of every two columns and rows?

Let A =randi(16,4); A = 14 11 16 16 15 2 16 8 3 5 3 13 15 9 16 3...

5 months ago | 2 answers | 0

### 2

answersQuestion

How to resolve problem in for loop?

a=java.math.BigInteger(100) for i=1:a a*a; end Undefined function '_colonobj' for input arguments of type 'java.math.Big...

5 months ago | 1 answer | 0

### 1

answerQuestion

How to get the original matrix back?

clc;clear all;close all A=reshape (1:16 ,4,4); % 4x4 matrix B1 = A(1:2:end, 1:2:end); B2 = A(1:2:end, 2:2:end); B3= A(2:2:en...

6 months ago | 1 answer | 0

### 1

answerQuestion

How to plot three subplots on the same axis?

if true % figure(1) x1=subplot(2,1,1); stairs(DDr.Var1,DDr.Var2); legend('Station 1 LHS') ylabel('Cycle time') title('S...

8 months ago | 1 answer | 0

### 1

answerQuestion

How to reduce space between axis labels and axis ticks?

x=1:54; plot(x,y1,'k-+',x,y2,'b-*') xlim([1 54] xticklabel_rotate([1:54],90,D xlabel('Sample 1') ylabel('Sample 2') How ...

8 months ago | 1 answer | 1

### 1

answerQuestion

How to reduce space between ylabel and y ticks in Matlab plot?

How to reduce the space between y-label and y-ticks, in other words how to closer the y-label to y-axis.

8 months ago | 2 answers | 0

### 2

answersQuestion

How to save the required output?

Suppose we have two folders A and B , both contain images. Let folder A have 6 images:a1,a2,...,a6 folder B have 60 images: b1...

8 months ago | 1 answer | 0

### 1

answerQuestion

How to select every 10 images corresponding to one image?

Suppose we have two folders A and B , both contain images. Let folder A have 6 images:a1,a2,...,a6 folder B have 60 images: b1...

8 months ago | 1 answer | 0

### 1

answerQuestion

How to save output of double loop as a matrix?

for i=1:m for j=1:n A=myfunction(...) end end where the output A is the square matrix. How to save output A for each ite...

8 months ago | 1 answer | 0

### 1

answerQuestion

How to unstructure the structure data?

I want to find the mean of all rows in the data set . But the data in the workspace is in the following formate. let A be data...

8 months ago | 1 answer | 0

### 1

answerQuestion

How to select every 54th image in the folder?

Suppose we have two folders A and B , both contain images. Let folder A have 54 images:a1,a2,...,a54 folder B have 540 images:...

8 months ago | 2 answers | 0

### 2

answersQuestion

How to save output of double loop?

If I have for i=1:n .... for j=1:m A=myfunction(...); end end The resultant A's are images, I want to save all A.s in t...

8 months ago | 2 answers | 0