Community Profile

photo

Shivam Prasad

MathWorks

Last seen: casi 2 años hace Con actividad desde 2019

I work at MathWorks India Pvt. Ltd.

DISCLAIMER: Any advice or opinions posted here are my own, and in no way reflect that of MathWorks.

Estadísticas

  • Knowledgeable Level 2
  • First Answer

Ver insignias

Content Feed

Ver por

Respondida
Tab key reading problem
Hi Sergio, Check if this works for you. s=importdata('inp.txt') filePh = fopen('outp.txt','w'); fprintf(filePh,'%s\n',...

más de 4 años hace | 1

| aceptada

Respondida
finding the paths with successor values
Hi Sampath, This can be solved by performing a depth first search on the array. Firstly represent the activities and succ...

más de 4 años hace | 0

Respondida
reading a txt with periodic strings
Hi Anna, I understand that the 8000 values contains the values as numeric types. You can read all the values as strings f...

más de 4 años hace | 0

Respondida
how to sum all pixel within a specific distance from each pixel?
Hi Waseem, Check if this works. I have made some changes to your code. array=[1.0,5.0,25.0,27.0,35.0,38.0,41.0,50.0]; matc...

más de 4 años hace | 0

Respondida
Is there a way to compile a matlab script that calls a mex function to C++
Hi Marc, Check if this works for you:- https://www.mathworks.com/matlabcentral/answers/48620-generating-c-c-code-from-m-fun...

más de 4 años hace | 0

Respondida
Integers without repeating consecutively
Hi Jose, Check if the following code works for you:- function [repPos, pinCodeFix] = pinCodeCheck(pinCode) repPos = []; ...

más de 4 años hace | 10

| aceptada

Respondida
sliding window in image
Hi Athulya, Check if this works for you:- im=rgb2gray(imread('SM.jpg')); %some image fun = @(block_struct) graycomat...

más de 4 años hace | 0

| aceptada

Respondida
How to get source code and object code in MATLAB. Have tried a lot unable to generate the object and source code...
Hi Avinav, I understand that by source code you mean the .m file which you write in your MATLAB editor. It is created by yo...

más de 4 años hace | 0

Respondida
how to define a vector of functions using a for cycle?
Hi Luca, Check if this works for you: syms t x y n=5; % define a n F=matlabFunction(subs(x+3*i*y+t^2,i,1:n))

más de 4 años hace | 0

| aceptada

Respondida
I need help on part c d and f. Question is in comments
Hi Hunter, Refer to this link to refine the question.

más de 4 años hace | 0

Respondida
upgrade matlab new licens needed?
Hi Ludvig, Please refer to this article and update the License file.

más de 4 años hace | 0

Respondida
How to fix Error 337
Hi Dylan, Please refer to the following answer provinding details about troubleshooting error 337:- https://www.mathworks.c...

más de 4 años hace | 0

Respondida
how to build logical relationships between elements of two vectors?
Hi BOWEN, Code for modifying the values of B according to values in A:- A = [1 0 1 0;1 1 0 0;1 1 1 1;1 1 0 1;0 1 1 1]; % d...

más de 4 años hace | 0

Respondida
Why it is showing error?
Hi Kartikey, The function imread assumes the argument to be be a valid path (relative/absolute) pointing to a valid image f...

más de 4 años hace | 0

| aceptada