Community Profile

# KSSV

### INCOIS

7.002 total contributions since 2011

Professional Interests: Mathematical Computing

View details...

Contributions in
View by

Fitting data with different type regression
You have to split your data into two sets....Let (x,y) be your m*n data and you want to divide them at a value val. data1 = [...

etwa eine Stunde ago | 0

indexing in for loop
iwant = cellspikes(48:71)

etwa eine Stunde ago | 0

help me to Plot vector field in matlab
%wava tank problem clc; %clear workspace command window %input a=0.5; rho=1030; g=9.81; l=30; L=5.216; d=2; T=2; w=2*p...

etwa 2 Stunden ago | 0

| accepted

Can someone help me with the floor command of matlab?
n = 930 ; N = 15 ; % this step 1:n/N:n is same as dn = n/N ; n1 = 1:dn:n

etwa 6 Stunden ago | 0

| accepted

How to sort a two column vector
Let A be your vector of two columns. [val,idx] = sort(A(:,1)) ; % sort the first column iwant = A(idx,:) % arr...

etwa 9 Stunden ago | 0

remove obsevations with x=0
Let A be your 100*2 data. With first column as x and second column as y. idx = A(:,1)>0 ; % get logical indices of x which ...

etwa 20 Stunden ago | 0

| accepted

Derivative of a function

etwa 20 Stunden ago | 1

| accepted

my goal is to make the biggest common partition but says syntax error >>> if(y==0)
You forgot to close the fprintf brackets. a= input("1.tam sayi: "); b= input("2.tam sayi: "); fprintf(" \nEBOB(%d,%d)=%d\n" ...

etwa 20 Stunden ago | 1

Change value of corresponding column depending on conditions
You cannot put NA, but you can replace that with NaN. Try this. A = [5 4 45 15 32 6] ; idx ...

etwa 20 Stunden ago | 0

| accepted

Manual triangle wave generation
A = 1; f = 1; fs = 1000; t = 0 : 1/fs : 10; n = [300]; omega0 = 2*pi*f; K = 8*A/pi^2 ; N = 20 ; % can be changed ...

etwa 20 Stunden ago | 0

How to merge text files vertically?
txtFiles = dir('*.txt') ; % get the text files in the present folder N = length(txtFiles) ; % Total number of text files...

etwa 20 Stunden ago | 0

rotate the sphere around the circle of the torus
R=20; r=5; [a, b] = meshgrid(0:20/180*pi:2*pi); X=((R-r)+r*cos(a)).*cos(b); Y=((R-r)+r*cos(a)).*sin(b); Z=r.*sin(a); hsurf...

etwa 20 Stunden ago | 0

huumh......It is really tough question.......As a MATLAB addict, I dont see any disadvanatages so far else from it is being exp...

etwa 21 Stunden ago | 0

my problem e ^x= ∑n=0 ∞ * x ^n\ n ! but this program didn't work . it gives infinity error and I don't know how to use it. invalid range and called from errors
n = 20 ; % can be changed x = pi ; % value of x y = 0 ; % intilaize the required value for i = 0:n y = y+x^i/...

etwa 23 Stunden ago | 1

| accepted

Find x for y=0 using interpolation
load ("Daten_Wurfparabel.mat") ; yi = 0 ; xi = interp1(y,x,0) ; [xi yi] plot(x,y,'b') hold on plot(xi,yi,'*r')

ein Tag ago | 0

| accepted

syntax error,my goal is to calculate the smallest common divisor with the entered numbers. but I can not do . it constantly gives syntax error. given by fprintf
In the first if condition you forgot to close the bracket, so the error. clc; clear all ; a=input ("1.tamsayi: "); b=input...

ein Tag ago | 1

| accepted

How to answer this question using matlab?
https://in.mathworks.com/matlabcentral/fileexchange/49996-2d-frame-analysishttps://in.mathworks.com/matlabcentral/fileexchange/4...

ein Tag ago | 0

Get maxima and minima over certain period

ein Tag ago | 0

| accepted

Color filling between lines in figure
Use this https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections?focused=5165138&tab=function to get the i...

ein Tag ago | 0

why this is Index exceeds matrix dimensions?
Note this step: cos(2*pi(fc-fm)*t) There * is missing pi and (fc-fp) Change that one to cos(2*pi*(fc-fm)*t) Vc = 2 ; Vm ...

ein Tag ago | 0

Uniformize two discrete curves to measure minimal distance.

ein Tag ago | 0

| accepted

Digital image Processing : Saving cropped Image
Io=imread('FileName.ext') ; I1 = imcrop(lo) ; imwrite(I1,'CFileName.ext') ;

ein Tag ago | 0

| accepted

Compute object distance in Image

ein Tag ago | 0

Arrays of unknown size as input
You need not to worry about the dimensions of input. You can do what you wanted without loop. Check the below code. [X,Y] = me...

ein Tag ago | 0

Swap between 3 Matrix
Save the below into a function and run in command line. function [n1,n2,n3] = swap(n1,n2,n3) ; temp = n2 ; n2 = n1 ; n1 = ...

ein Tag ago | 1

a function that draws a plot and uses an input for the title of the plot
figurenumber = 4 ; title_name = ['Figure',num2str(figurenumber),'.Temperatures'] ; title(title_name)

2 Tage ago | 1

| accepted

Convert Matrix to ArcGIS raster
It depends whether your data is structured or unstructured. Based on the data, the folloiwng is the procedure. Let A be your (x,...

2 Tage ago | 0

finding troughs in signal