Community Profile

# Chaudhary P Patel

Last seen: 22 days ago Active since 2019

Professional Interests:

View badges

#### Content Feed

View by

Question

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

1 month ago | 1 answer | 0

### 1

answer

Question

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

1 month ago | 1 answer | 0

### 1

answer

Question

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

2 months ago | 1 answer | 0

### 1

answer

Question

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.

2 months ago | 1 answer | 0

### 1

answer

Question

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

2 months ago | 3 answers | 0

### 3

answers

Question

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

2 months ago | 2 answers | 0

### 2

answers

Question

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

2 months ago | 1 answer | 0

### 1

answer

Question

How to convert SDOF system to MDOF system of Nonlinear Dynamic analysis of a building
Please, anyone help me.

3 months ago | 1 answer | 0

### 1

answer

Question

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

3 months ago | 1 answer | 0

### 1

answer

Question

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

3 months ago | 1 answer | 0

### 1

answer

Question

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

3 months ago | 1 answer | 0

### 1

answer

Question

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

3 months ago | 1 answer | 0

### 1

answer

Question

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

3 months ago | 0 answers | 0

### 0

answers

Question

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.

4 months ago | 0 answers | 0

### 0

answers

Question

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

5 months ago | 1 answer | 0

### 1

answer

Question

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

1 year ago | 0 answers | 0

### 0

answers

Question

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

1 year ago | 1 answer | 0

### 1

answer

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

1 year ago | 0

Answered
Newmark Beta Method problem
problem is comin from the finding displacemet, i wrote error there.

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

1 year ago | 1 answer | 0

### 1

answer

Question

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

1 year ago | 0 answers | 0

### 0

answers

Question

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

1 year ago | 1 answer | 0

### 1

answer

Question

index exceeds array bounds
%%%%I am trying to create a programm which gets values from an excel file for fl=1:1:dof(de,4) for i=1:1:ne CKx(fl)=sum(...

2 years ago | 1 answer | 0

### 1

answer

Question

help for coading in matlab
how to calculate the center of mass and center of stiffness in single or multi storey building.

2 years ago | 0 answers | 0

### 0

answers

Question

find out center of stiffness for a building
for i=1:1:ne ckx(i)=xf; cky(i)=yf; b=12*Ec(i).*Iyy(i)/(L(i).^3); c=12*Ec(i).*Izz(i)/(L(i).^3); d=b.*xcg...

2 years ago | 0 answers | 0

### 0

answers

Question

applied concentrated load in matlab coading
can i provide noal concentrated load? if yes. How can i provide in matlab for building on column?

2 years ago | 0 answers | 0

### 0

answers

Question

how to save result in continue way in column
every time my out put put result is ( N by 1) and i want save the result for every time into column.

2 years ago | 1 answer | 0

### 1

answer

Question

how to handle unknown size of arrey
Actually i am going to use structural data that is very large and i have to use it one by one and i do not know what is its siz...

2 years ago | 1 answer | 0

### 1

answer

Answered
export from matlab to excel
sir, i have excel and file is also opening in excel only thing is that i am not getting why this warning is showing there.

2 years ago | 0

Answered
export from matlab to excel
sir, it is not working, >> filename = 'testdata.xlsx'; A = [12.7 5.02 -98 63.9 0 -.2 56]; xlswrite(filename,A) Warning: Coul...

2 years ago | 0