Community Profile

# KSSV

### INCOIS

3,310 total contributions since 2010

Professional Interests: Mathematical Computing

• ﻿
• ﻿
• ﻿
• ﻿
• ﻿
• ﻿

View details...

Contributions in
View by

Entering file directory as an input
Multiple options: 1. You can use _uigetfile_ to browse to the location via mouse. 2. Give the input of file with path....

7 hours ago | 0

How to export the workspace variable INFORMATION, such as Name, Value, Bytes, Class.
S = whos ; S = struct2cell(S) xlswrite('myfile.xlsx',S)

8 hours ago | 1

How to plot two column vector on the same scale
data = [1.22 1.01 2.31 2.31 4.12 4.13 1.74 1.78 1.30 1.04 3.13 3.13 3.76 3.76 4.12 4.11];...

8 hours ago | 1

| accepted

sphere - increase granularity
n = 100 ; % you may change n [x,y,z] = sphere(n); surf(x,y,z)

8 hours ago | 1

| accepted

Passing function with parameters to another function
f1 = @(x,y) x(y) ; f2 = @(y) sin(y) ; f1(f2,pi/2)

8 hours ago | 0

calculation variable x besselj
eqn = @(x) (x.*besselj(1, x))./besselj(0, x)-5 ; x0 = [1 4 7 10 12 15] ; x = fsolve(eqn,x0)

8 hours ago | 1

| accepted

how to encode a low pass filter to an image

9 hours ago | 0

| accepted

Show all decimal places
doc _format_. Read about _*format*_. format long should show what you want.

9 hours ago | 0

| accepted

remove elements from a matrix
If _A_ is your matrix: A(A(:,end)==1,end)=0 ;

9 hours ago | 0

How can I plot several graphs with slightly different name in a loop?
for i = 1:3 figure(i) ; h(i) = plot(rand(10,1)); end set(h(1),'linewidth',10)

10 hours ago | 0

find orientation associated with the edge in delaunay triangulation
You have vertices of triangle in hand...use this function: <https://in.mathworks.com/matlabcentral/fileexchange/37389-find-a...

10 hours ago | 1

| accepted

how do I plot data from two columns referring to all the unique value of a different column?
Let X, Y and cod_stif be your data [cod_stif,ia,ic] = unique(cod_stif) plot(X(ia),Y(ia))

10 hours ago | 0

| accepted

How to rename files for many folders

10 hours ago | 0

| accepted

find the vertices from delaunay triangulation
x = rand(10,1) ; % a randoms data y = rand(10,1) ; dt = delaunayTriangulation(x,y) ; % delaunay triangulation ...

11 hours ago | 1

| accepted

huffman algoritm in matlab
prob = [0.49, 0.26, 0.12, 0.04,0.04, 0.03, 0.02] ; symbols = 1:length(prob); dict = huffmandict(symbols,prob) ...

12 hours ago | 1

Why I cannot type the path to the licence file?
You need to enter numbers there......you should be getting a serial key with certain number of digits while purchase.

13 hours ago | 0

Reverse character array using recursion
You can either use _fliplr_ or give indices in reverse. str = 'py' ; fliplr(str) str(end:-1:1)

13 hours ago | 0

Compute polynomial coefficient with unequal vector?
%% a random data x = rand(10,1) ; y = rand(7,1) ; % sort x in ascending order and pick first seven x = x(1:7)...

13 hours ago | 0

| accepted

How to check if a point lies in the sector of a circle?
YOu should be having a set of points for *sector* and the points for *circle*. Use _inpolygon_ to know whether these points lie ...

13 hours ago | 0

| accepted

How to Plot large Excel data in contour graphs format?
load the data from excel into matlab using _xlsread_ and then use _contour_ to plot contours and _surf_ to plot a surface. Read ...

13 hours ago | 0

How to write image
doc _imwrite_ <https://in.mathworks.com/help/matlab/ref/imwrite.html>

13 hours ago | 1

Question re: making interior nodes
For meshing a rectangular/ square region with node numbers, you can have a look on this link: <https://in.mathworks.com/matlabce...

14 hours ago | 0

How can i Break a sampled signal up into 4 sections to use for 4 seperate fft calculations
doc _reshape_. YOu can split the signal into four using reshape. But see to it that the signal length is divisible by 4. ...

15 hours ago | 0

A code for a vector that doubles the elements that are positive and are divisible by 2 or 5, and raise to the power 4 the elements that are negative but greater than -3.
This time you got help, next time we are not going to answer your HomeWork question. I advice you to learn MATLAB. V=[...

15 hours ago | 0

How to calculate the low and the high value of the threshold (histogram) ?
doc _min_ and _max_. Also see this code by *Image Analyst* [pixelCounts, grayLevels] = imhist(grayImage); minGrayLev...

15 hours ago | 0

Calculate the volume of a concave object.
Try this: <http://in.mathworks.com/matlabcentral/fileexchange/26982-volume-of-a-surface-triangulation>

15 hours ago | 0

Figure with 2 different x-axes
Refer this: <https://in.mathworks.com/help/matlab/creating_plots/graph-with-multiple-x-axes-and-y-axes.html>

15 hours ago | 0

not sure how to answer this question, class has no matlab book and is only 40 min a week.
SGfun = @(API) 141.5/(API+131.5) ; Mfun = @(Tb,SG) 42.965*exp(2.097*10^-4*Tb-7.78712*SG+2.08476*10^-3 *Tb*SG)*Tb^1.26007*SG...

15 hours ago | 0