Community Profile

photo

Shwetank Shrey


Last seen: 4 years ago Active since 2019

Followers: 0   Following: 0

Statistics

All
  • Knowledgeable Level 2
  • First Answer
  • Community Group Solver
  • Introduction to MATLAB Master
  • Solver

View badges

Feeds

View by

Answered
Older MATLAB script not able to run in 2019 version
Change strname = ['data/' strjoin(fix(clock), '-') '.txt']; to strname = ['data/' char(strjoin(string(fix(clock)), '-')) '.tx...

5 years ago | 1

Answered
Loops for struct data
You can use fieldnames to get information about the field names in a structure. https://www.mathworks.com/help/matlab/ref/fie...

5 years ago | 0

Answered
I want to sum up specific array in a matrix
Hope this helps you. function [sum_37, sum_39] = compute_sum(x) sum_37 = 0; sum_39 = 0; found_37 = false; f...

5 years ago | 1

| accepted

Answered
converting lat,lon column vectors to corresponding grid vector (lon*lat)
You can use matrix multiplication to multiply the column vectors and then reshape it to get your desired vector. lat_lon_non_co...

5 years ago | 0

Answered
how to remove first n entries from iterete sequence or vector.?
A = [1,2 ,3,4,5,6,7,8,9,10]; A = A(4:end);

5 years ago | 1

Answered
how to write in matlab?
If you are trying to assign flag(j) and t(i) values, then you should use : flag(j) = 1; t(i) = j; Please check documentation ...

5 years ago | 0

Answered
Double sum of this formula
Just verify once if this is the formula that you needed. You would have to define K, b and n beforehand. symsum((d(k).*symsum((...

5 years ago | 1

| accepted

Answered
How to output a vector/array from a created function
The vector that you would be creating using 0 : 0.01 : 100 would have a size of 1x10001. >> size(0 : 0.01 : 100) ans = ...

5 years ago | 1

| accepted

Answered
how to write or condition in if statement matlab?
Check out the documentation: https://www.mathworks.com/help/matlab/ref/if.html if (j == i) || (flag(j) == 1) % do somet...

5 years ago | 0

Answered
How can I use MATLAB in Linux that is used by multiple usres?
Installing multiple Individual licenses on a single machine is as simple as running the MATLAB installer from each user's accoun...

5 years ago | 0