# Chaudhary P Patel

**Statistics**

RANK**86,306**

of 271,097

REPUTATION**0**

CONTRIBUTIONS

**39** Questions

**7** Answers

ANSWER ACCEPTANCE **
28.21%
**

VOTES RECEIVED**0**

RANK

of 18,283

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 119,739

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 can i get a logical vector for all rows when compare each row of a column matrix with a another row column matrix

I have two matrix A and B, i want to compare these to matrix to get logical vector for each row.

1 month ago | 1 answer | 0

### 1

answerQuestion

Error "Size input must be scalar"

Sir, Here delu=randi(30,1), in which i want to add zeros(3,1) but when i am running this in my complete code it is showing "Size...

2 months ago | 1 answer | 0

### 1

answerhow I can fix the error "size inputs must be scalar".?

Sir, Here delu=randi(30,1), in which i want to add zeros(3,1) but when i am running this in my complete code it is showing "Size...

2 months ago | 0

Question

How can I call a value in side the a function which is already evaluated.

%% knt i calculated here. nf=max(elem(:,4)); maxfl=max(elf(:,1)); for flno = 1:1:maxfl for i=elf(1,1) for j=1:1:n...

2 months ago | 2 answers | 0

### 2

answersQuestion

Find minimum and maximum value from a matrix for a specific interval

I have a 30X100 size matrix, for which i want to find minimum and maximum value for row 2,5,8,11,14,17,20,23,27. How can i find...

2 months ago | 1 answer | 0

### 1

answerQuestion

This is for single degree of freedom but when I am writing it for MDOF why the DFbar is not calculating properly?

function [t,u,v,a, kbar, R, keyp, key, Du, k_p] = NewmarkNon( t, DF, Dt, u0, v0, ut, uc,a0, F1, k, c, m, Rt, Rc, R, gamma, beta,...

3 months ago | 0 answers | 0

### 0

answersQuestion

How the Function "NewmarkNon" is working and meaning of Keyi and Keyp in this coding?

%----------------------- Mario Paz Example 7.1 ---------------------------- clear; %------------------------------------------...

3 months ago | 0 answers | 0

### 0

answersQuestion

Extract Data from Excel from with Equal Interval

Actually i have a Column wise data of (14001X2), from which i have to extract data from equal interval of 10. please help me.

4 months ago | 0 answers | 0

### 0

answersQuestion

how can i restore data which is replaced in the end

% I am facing the that Utt for n=5 replacing the others, so I am unable to call the previous value of Utt for n=1,2,3, and 4 . ...

6 months ago | 1 answer | 0

### 1

answerQuestion

How can i use two variables while using eval command

Sir/ Madam I wrote this command for running for 100 time steps under for each n=5; when i wrote it like this eval(['FSS',num...

6 months ago | 1 answer | 0

### 1

answerQuestion

How can i write three different condition in a single loop

I want to write three different condition in single loop. My three conditions are; if i==1 if 1<i<N if i==N

7 months ago | 1 answer | 0

### 1

answerQuestion

how can I add and change the position of elements in vector

i have ma=[a;b;0] i want ma=[0;0;a+b] please help me.

7 months ago | 1 answer | 0

### 1

answerQuestion

how can i call vector and their element at a time for comparision

Respected Sir/Madam i have Fr1= [0.8147; 0.9058; 0.1270; 0.9134; 0.6324] Fr2= [0.0975; 0.2785; 0.5469; 0.9575; 0.9649] Fr3...

7 months ago | 3 answers | 0

### 3

answersQuestion

how to store the conditional loop data

sir/ madam please correct me. ut=rand(15,1); uy=([0.84;0.384;0.784]); eval (['U_y','=[u_y;u_y;u_y;u_y;u_y]']); for n=1:15 ...

7 months ago | 2 answers | 0

### 2

answersQuestion

Call a element of Varying Column vector

Kt=rand(6,6); u=rand(6,6); for i=1:1:6 for n=1:1:5 fr(:, i)=Kt*u(:,i) % i am try to call earch column of u here for multipl...

7 months ago | 1 answer | 0

### 1

answerQuestion

How to convert SDOF system to MDOF system of Nonlinear Dynamic analysis of a building

Please, anyone help me.

7 months ago | 1 answer | 0

### 1

answerQuestion

Same loop have different vector output

Sir, when i am running this loop for f_s the first f_s1 is comming as a column vector while f_s2, 3, 4, 5, are comming as a row ...

8 months ago | 1 answer | 0

### 1

answerQuestion

comparison of two column vectors

sir/madam i have two column vectors, i want to compare element by element and want to know which is large or small. please help...

8 months ago | 1 answer | 0

### 1

answerQuestion

extract small vector from large vector

b=[1;2;3;4;5;6;7;8;9;10;11;12;13;14;15]; a=zeros(3,1); c=([a;b]); d=(c(1,1):c(6,1)); e=(c(4,1):c(9,1)); please suggest me t...

8 months ago | 1 answer | 0

### 1

answerQuestion

extract vector from large vector

i have vector [0 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ] from this i have to extract 5 vectors which are; [0 0 0 1 2 3] [1...

8 months ago | 1 answer | 0

### 1

answerQuestion

How can i convert Global displacement to local displacement

how can i write code for global to local displacement matrix.

8 months ago | 0 answers | 0

### 0

answersQuestion

Can anyone help me in newmark nonlinear method for mdof ?

I want to code a program in the field of nonlinear newmark for mdof structures in matlab.

9 months ago | 0 answers | 0

### 0

answersQuestion

matrix addition and substraction

{a1; a2; 0} i want to R1-R1 and R2+R1

10 months ago | 1 answer | 0

### 1

answerQuestion

local displacement response of a building

how to convert a global displacement response in to the local displacement response.

2 years ago | 0 answers | 0

### 0

answersQuestion

legend in subplot graph

how to give legend for multiple graph case. subplot(3,1,1) plot(tn,transpose(utdelt(1,:)),'-r'); title('Displacement in X-Dir...

2 years ago | 0 answers | 0

### 0

answersHow to change the positions of elements in a vector?

i have a 30 by 1 vector and i want to replace 2, 5, 8,11,14,17,20,23,26,29 element at place of 3,6,9,12,15,18,21,24,27,30. plea...

2 years ago | 0

Newmark Beta Method problem

problem is comin from the finding displacemet, i wrote error there.

2 years ago | 0

Question

Newmark Beta Method problem

alpha=0.25; delta=0.5; %------------------- delt=0.005; % delt=28; %------------------- a0=1/(alpha*delt^2); a1=delta/(al...

2 years ago | 1 answer | 0

### 1

answerQuestion

Assemble of column vector in column

FG=[]; FG=zeros(N,1); m=5; for n=1:1:ne %Calling elements for i=1:1:6 ...

2 years ago | 0 answers | 0

### 0

answersQuestion

Draw mode shape using Eigen values for a building

I calculated the Eigen values and Eigen vectors for the building in matrix form, please guide me now, how can i plot the mode ...

2 years ago | 1 answer | 0