Community Profile

Contact

I am Student of Masters in Computational Mechanics

Top 5% contributor

Hi, i want to run for loop with different set of values as for example for i = 2:6,17:22 Y= 2*i; End Please do it ...

3 Answers

0

Asked 5 months ago

i want to plot a function say sin(x) for the interval 0:30 and then i want to continue this plot for some other function say ax+...

2 Answers

Asked 1 year ago

ss=1; for i = 1:2 for j = 1:5 T = norm(r2(j,:)-r1(i,5:end)); % reading 2 excel files and r2 and r1 are ro...

here is my code that is taking norm between 2 rows from 2 different excel files,it picks one row from my_first_file.xlsx and tak...

I am using xlswrite and wants to write data ranging from A column to ABC column,but when i specify the range A:ABC,i got an erro...

here is y code for calculating norm between two vectors and then saving the minimum number and its index in variable r and c, i ...

1 Answers

Asked 8 months ago

Hi I have an Excel file with 1000 rows and i want to pick 30 random rows from it, i used xlsread command to read the excel data ...

I have hundreds of excels files in different folders with data on hundreds of records,I want to record the data to a single (exc...

Hi i am writing a code for ode45 for which i have to variate the value of "aplha",after each time the ode45 evaluates and the us...

I have number of images in a folder. I have read these images, I am generating sift features and descriptors of these images and...

Hi,i want to use xlswrite to write my data using for loop but the issue I am facing that if i have for loop with decimal interva...

I wrote this in m-file... function dx=FtnTest(t,x) dx=zeros(2,1); dx(1)=x(2); dx(2)=-52.1480*(-63.83...

i have a simple ques that if i have z-plane having x and y axes,and i express z=x+i*y,and x if fixed let say 5 any y=0:10 then h...

Asked 4 years ago

Hi, I have some images to read in MATLAB and the names of the images are stored in a text file please let me know how can I read...

lets say i have one m-file named call1.m having: function t =call1(a,b) a=10; b=5; t=a+b; end and i want to ca...

Asked 28 days ago

If I have a series of MAT files and want to load it and then perform some calculation on it and then save all the new MAT files ...

Hi,i have around 1500 excel files in a folder with almost 900 x 130 cells of data in each file and i want to read (xlsread) one-...

function[]=LS(x,y) clc % Dy is the representation of y' %D2y is the representation od y'' D2y=inline('-(2/x)*Dy + (2/x^2)*y ...

Code: syms('a','b','A','n') fprintf('Enter the value of n:') n=input(' '); for a=1:n; for b=1:n; A(a,b)=input(...

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

Solve this!

1 year ago

clear all; clc; C = [0.962 0.9416 0.9606 0.9845 0.9385]; N = [0.9392 0.979 0.948 0 0]; S = [0.9599 0.9276 0.9571 0.93...

0 Answers

Hi i wrote a code for 3 coupled non-linear Initial Value ODE ( u and w are second order and v is 1st order ODE) using finite dif...

Asked 7 months ago

Hi I am solving a 2nd order linear ODE using Forward Scheme Finite Difference Method and also computing the Exact solution and p...

I have hundreds of MAT files and i want to concatenate all these files to a single file,each MAT file has dimension of 69x128,he...

Hi, I have a file with 65536 rows and almost 1800 columns that makes my excel file to approx 210 MBs and i want to convert it in...

Asked 10 months ago

clear all;clc; rng(4); x = [0.000000 2.038941 3.965975 5.988320 7.989983 10.024795 12.001537 14.023893 16.008968 18.002214 ...