Pregunta


I am facing problem with big fraction
Hello everyone, When i am writing the following code, "sumx" returns me value in fraction, i want to show my result in terms of...

más de 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


When L is not unique, how can I choose any of L
let say i have a vector S=[ 7 1 15 13 2 14 6 10 12 11 4 8 3 9 5]; and after ...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


find the longest monotonically increasing subsequence of a sequence of n numbers?
I have algorithm of the longest monotonically increasing subsequence of a sequence of n numbers Let S[1]S[2]S[3]...S[n] be the ...

más de 5 años hace | 3 respuestas | 0

3

respuestas

Pregunta


I want to save matrix at each iteration to later use for Multiplication
I have written a code, it is working fne, but i couldnot save the result at each step. clear all; clc a=0:1; b=0:1; c=0...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


how to call a function one m-file to another m-file
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...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


I want to have my error bar graph like given in picture
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...

casi 9 años hace | 0 respuestas | 0

0

respuestas

Pregunta


for loop for different set of values
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 ...

casi 9 años hace | 3 respuestas | 0

3

respuestas

Pregunta


problem in solving coupled non-linear Initial Value ODE using finite difference method
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...

casi 9 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 9 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Load MAT files and Then Save new MAT file with same Name after calculations
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 ...

alrededor de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Save variable in vector form after a loop
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 ...

alrededor de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


how do I concatenate mat files matlab
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...

alrededor de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Read data using xlsread and store in a variable
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 ...

alrededor de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to convert .xlsx file to .mat larger than 200 mb
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...

alrededor de 9 años hace | 0 respuestas | 0

0

respuestas

Pregunta


plot in different ranges for x
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+...

más de 9 años hace | 2 respuestas | 0

2

respuestas

Pregunta


store values in array in nested for loop
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...

más de 9 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Make my code for taking norm efficient
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...

más de 9 años hace | 2 respuestas | 0

2

respuestas

Pregunta


write data to excel for more than 26 (A-Z) columns
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...

más de 9 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Iteratively selecting excel 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-...

más de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Chossing random data from xls files
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...

más de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Need to do ode45 for various values iteratively
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...

casi 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Naming xls files corresponding to image in MATLAB
I have number of images in a folder. I have read these images, I am generating sift features and descriptors of these images and...

casi 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Read names of images from text file and read using imread
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...

casi 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


for loop and xlswrite
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...

casi 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


I am Facing problem using ode45
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...

casi 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Hi,I want to find maximum value from the plot of interpolation
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 ...

casi 10 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 12 años hace | 3 respuestas | 0

3

respuestas

Pregunta


what can i further do in my this code of linear shooting
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 ...

casi 13 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How can i variate the index for the matrix input by the user in command window
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(...

alrededor de 13 años hace | 1 respuesta | 0

1

respuesta