photo

Ammy


2018 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 5

バッジを表示

Feeds

表示方法

質問


How to use sortrows command in java.math.BigInteger?
Let A be BigInteger array (mx2) I want to apply sortrows on A, but it is not compatible with it . import java.math.BigInte...

約2年 前 | 1 件の回答 | 0

1

回答

質問


How to interchange position of a matrix?
A = [3 1 2]; B = [2 3 1]; %%%%% X = [2 1 3]; %%% I want to interchange position of elements in X using A and B. => interch...

約2年 前 | 2 件の回答 | 0

2

回答

質問


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

2年以上 前 | 1 件の回答 | 0

1

回答

質問


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年以上 前 | 3 件の回答 | 0

3

回答

質問


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年以上 前 | 1 件の回答 | 0

1

回答

質問


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年以上 前 | 2 件の回答 | 0

2

回答

質問


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年以上 前 | 2 件の回答 | 0

2

回答

質問


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年以上 前 | 1 件の回答 | 0

1

回答

質問


How to convert BigInteger into binary?
import java.math.*; >> a=BigInteger('12362534624362643243256346523462'); >> b=toString(a); >> dec2bin(b) Error using dec2bin...

2年以上 前 | 1 件の回答 | 1

1

回答

質問


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年以上 前 | 2 件の回答 | 0

2

回答

質問


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年以上 前 | 2 件の回答 | 0

2

回答

質問


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年以上 前 | 1 件の回答 | 0

1

回答

質問


How to concatenate binary strings?
I have binary data 8192x8 char '00000010' '01101111' '00111001' '00111111' '11010110' '01000110...

2年以上 前 | 3 件の回答 | 0

3

回答

質問


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年以上 前 | 1 件の回答 | 0

1

回答

質問


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

2年以上 前 | 2 件の回答 | 0

2

回答

質問


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 ?

2年以上 前 | 1 件の回答 | 0

1

回答

質問


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

2年以上 前 | 1 件の回答 | 0

1

回答

質問


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

2年以上 前 | 1 件の回答 | 0

1

回答

質問


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

2年以上 前 | 1 件の回答 | 0

1

回答

質問


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年弱 前 | 1 件の回答 | 0

1

回答

質問


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

3年弱 前 | 2 件の回答 | 0

2

回答

質問


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

3年弱 前 | 1 件の回答 | 0

1

回答

質問


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

3年弱 前 | 1 件の回答 | 0

1

回答

質問


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

約3年 前 | 1 件の回答 | 0

1

回答

質問


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

約3年 前 | 1 件の回答 | 1

1

回答

質問


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.

約3年 前 | 2 件の回答 | 0

2

回答

質問


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

約3年 前 | 1 件の回答 | 0

1

回答

質問


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

約3年 前 | 1 件の回答 | 0

1

回答

質問


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

約3年 前 | 1 件の回答 | 0

1

回答

質問


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

約3年 前 | 1 件の回答 | 0

1

回答

さらに読み込む