photo

Amir Xz


Last seen: 3年以上 前 2018 年からアクティブ

Followers: 0   Following: 0

統計

  • Knowledgeable Level 2
  • First Answer
  • Thankful Level 1

バッジを表示

Feeds

表示方法

回答済み
Vectorized method to sum missed one values
A=[0, 1, 1, 0, 0, 1, 0, 1]; [~,NonZr] = find(A~=0); A(NonZr) = [NonZr(1),NonZr(2:end)-NonZr(1:end-1)]; Result: A...

6年以上 前 | 1

| 採用済み

回答済み
How to make a polar plot function curve and not rigid?
Steps are so large. theta = 0*pi: 0.01: 2*pi;

6年以上 前 | 1

回答済み
Rotate image parallel to the x-axis
A = [50 70]; %[x y] & x,y: pixel number B = [100 30]; %[x y] % find point2 (point with larger x) if A(1)>B(1) P2 ...

6年以上 前 | 1

| 採用済み

回答済み
Calculate values only once in the loop
Use "isempty": I = rand(4,5);r=[]; c=[]; for i=1:10 if isempty(r) || isempty(c) [r,c]=size(I); en...

6年以上 前 | 0

回答済み
how to make a square wave as input of transfer function in MATLAB ?
h=2;TimeEnd=20; % inputs t=0:0.01:TimeEnd; x=h/2:2*h:t(end); n=length(x); win=h*rectpuls(t-x(1),h); for i=2:n ...

6年以上 前 | 0

回答済み
How to modify the input function to a system?
1. Left Shift: xn(end+1:end+3)=xn(1:3); xn(1:3)=[]; 2. New signal: y = 3*xn + 5*xn(5)^2;

6年以上 前 | 0

回答済み
Difference between graythresh and multithresh for one value of threshold.
t1 = multithresh(I,1); t2 = graythresh(I); t1 is a LEVEL, which means is a number between 0 to 255. t2 is same LEVEL th...

6年以上 前 | 0

回答済み
How to add a large number of cell.
MatA = cell2mat(A); ArrayA = reshape(MatA',1,12*10^8);

6年以上 前 | 0

| 採用済み

回答済み
Please how can I store values of variable size vectors inside a loop for
" *x( idxX(k) + 1 : idxX((k+1)) )*" is a vector, so it should store in a vector too. Use this one: subH(k,:) = x(...

6年以上 前 | 1

| 採用済み

回答済み
Dear matlab users after I write m file script and run ,it work correctly but when I try open for additional work ,I got different characters .How can open it ? Thank you.
Did you use "clear" at the first line of your code? Or, another probability is: You added a folder into MATLAB path,that you ...

6年以上 前 | 0

質問


Getting output from Simulink using m-file (link for m-file in simulink)
Hi, I wanna create a link in Simulink, something like a link that exist in "ssc_engine_cooling_system". See image below: <</...

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

1

回答