Community Profile

KSSV

Last seen: Today Active since 2011

Programming Languages:
Python, MATLAB, Fortran
Spoken Languages:
English, Hindi, Telugu
Professional Interests:

All

Content Feed

View by

How to check whether point is inside high dimensional convex hull?

ongeveer 2 uur ago | 0

Extract area of matrices (lat, lon, data) by shapefile. "Requested array exceeds the maximum possible variable size."
You need not to use meshgrid. Already your lon, lat values are in meshgrid. Remove these lines: lat = %MyLat 8000x8192; lon = ...

ongeveer 2 uur ago | 0

extractin values from a struct that is in a table
rain = data.rain ; iwant = zeros(length(rain),1) ; for i = 1:length(rain) if ~isempty(rain{i}) iwant(i) = rain{...

ongeveer 2 uur ago | 0

| accepted

Find unknowns from inequations

ongeveer 3 uur ago | 0

How to find first 10 minimum values in a table array?
You can sort the array you want and arrange the other arrays/ table into that order. You can pick the first whatever number you ...

1 dag ago | 0

How do I plot values taken from a for loop function?
clc B0=-0.00356616 ; %Lapse Rate T0=518.67 ; B=B0 ; %Lapse Rate a=0.1:36089.2 ; %Altutude in ft T...

2 dagen ago | 0

A general question about syntax regarding an Excel file's rows and columns in MATLAB
T = readtable(file,'HeaderLines',1) ; data = table2array(T) ; m = mean(data) [SL: fixed typo]

2 dagen ago | 0

Filling area common to two inequalities?
clc; clear all; E11=0.041057; E12=-0.117734; E21=0.029952; E22=-0.042564; A=[1 -E22/E11]; D0=E11*E22-E12*E21 ; ...

4 dagen ago | 0

Approximate Value Using Taylor Polynomial
syms x f = (sin(x).^2).*(cos(x)) T = taylor(f,x,'order',10) double(subs(T,5))

4 dagen ago | 0

| accepted

Index in position 2 exceeds array bounds. Index must not exceed 1. Error in refPose = data.ActorSpecifications(1,46).Waypoints;
Change this line: refPose = data.ActorSpecifications(1,46).Waypoints; to refPose = data.ActorSpecifications(46,1).Waypoints;

6 dagen ago | 0

reshape help doing PCA when all images contained in one .mat file
Your X data is of size 3240X20, you cannot reshape its each column to size 64X56..because 64X56=3584~=3240. So you need to use y...

6 dagen ago | 0

txtFiles = dir('*.txt') ; N = length(txtFiles) ; for i = 1:N T = readtable(txtFiles(i).name) end

7 dagen ago | 0

| accepted

3D matrix transpose and dimensioning
% Data for demo A{1,1} = rand(3,3,3) ; A{2,1} = rand(3,3,3) ; A{3,1} = rand(3,3,3) ; A{4,1} = rand(3,3,3) ; A % Conversio...

7 dagen ago | 1

How can I split the excuation of multiple for loops ?
for k = 1:10 for i=1:5 X1(i) = do some calculation X2(i) = do some calculation end en...

7 dagen ago | 0

| accepted

Hello, I've got the problem. Can any one help me with that error?
It looks there is some problem with conditions. Check the conditions. Without the conditions it is working fine. syms x(t) Dx...

7 dagen ago | 0

How to name axes from the script
plot(rand(1,10)) labelx = input('Input Xlabel:') ; labely = input('Input Ylabel:') ; xlabel(labelx) ylabel(labely)

8 dagen ago | 0

how can I calculate A^n when n is a symbolic positive integer?
A = [1/2,1/2,0,0;1/2,0,1/2,0;1/2,0,0,1/2;0,0,0,1] syms n positive integer A.^n

8 dagen ago | 0

Find the minimum and maximum value of internal intervals in an array
clc; clear all ; array = [1 2 3 NaN NaN NaN -1 0 5 NaN 0.25 NaN 5 6 7]; M = array' ; idx = isnan(M); ...

10 dagen ago | 1

Find coordinates of point on original image after using interp2
A=round(rand(10).*10); [nx,ny] = size(A) ; [X,Y] = meshgrid(1:ny,1:nx) ; [x_a,y_a] = meshgrid (linspace(1,10,8),linspace(1...

10 dagen ago | 0

I have a two column item 1st, Column is child's name and 2nd column is his/her choice of toys. For a given list of Toys I bought, make a table against each toy to each child.
A=["Child1" "Dog" "Child1" "Cat" "Child1" "Babbie" "Child2" "Tractor" "Child2" "Plane" "Child2" "...

11 dagen ago | 0

Extract the values corresponding to the specific filed in the struct
iwant = [S(:).latency] Else other option, would be convert your structure to table and access the data you want. T = struc2ta...

11 dagen ago | 0

| accepted

How to reduce space between plots in subplot?
You may consider using this fileexchange function: https://in.mathworks.com/matlabcentral/fileexchange/27991-tight_subplot-nh-nw...

11 dagen ago | 0

| accepted

How can I do this polynomial with sympolic in matlab
p = sym('P',[1 4]) ; x = sym('x',[1 4]) ; f = p*x.'

11 dagen ago | 0

| accepted

Use vector to create 3rd dimension at each point in a matrix
N = 10 ; vec = 1:5 ; b = repmat(vec',1,N,N) ;

12 dagen ago | 0

| accepted

How to calculate distance left in a specific time interval
start = [1 2]; endpos = [8 8]; x = [start(1) endpos(1)]' ; y = [start(2) endpos(2)]' ; interval = 0.1; vel = 0.1; ...

13 dagen ago | 0

Which products used for CSE student?

13 dagen ago | 0

How to fix : Unable to perform assignment because the left and right sides have a different number of elements.
This is a simple error, it occurs when you try to save more number of elements into an array than it is initialized for. Ex: ...

13 dagen ago | 0

How to generate all the possible data points in this 2D triangle?
P = [0 0 ; 0 1 ; 1 0] ; % vertices of triangle m = 20 ; n = 20 ; x = linspace(min(P(:,1)),max(P(:,1)),m) ; y = linspace(mi...

13 dagen ago | 0

| accepted