Shivam Prasad
MathWorks
Followers: 0 Following: 0
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.
Feeds
已回答
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',...
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',...
5 years 前 | 1
| 已接受
已回答
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...
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...
5 years 前 | 0
已回答
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...
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...
5 years 前 | 0
已回答
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...
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...
5 years 前 | 0
已回答
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...
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...
5 years 前 | 0
已回答
Integers without repeating consecutively
Hi Jose, Check if the following code works for you:- function [repPos, pinCodeFix] = pinCodeCheck(pinCode) repPos = []; ...
Integers without repeating consecutively
Hi Jose, Check if the following code works for you:- function [repPos, pinCodeFix] = pinCodeCheck(pinCode) repPos = []; ...
5 years 前 | 11
| 已接受
已回答
sliding window in image
Hi Athulya, Check if this works for you:- im=rgb2gray(imread('SM.jpg')); %some image fun = @(block_struct) graycomat...
sliding window in image
Hi Athulya, Check if this works for you:- im=rgb2gray(imread('SM.jpg')); %some image fun = @(block_struct) graycomat...
5 years 前 | 0
| 已接受
已回答
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...
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...
5 years 前 | 0
已回答
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))
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))
5 years 前 | 0
| 已接受
已回答
Write a Matlab program that prints a table with 10 lines of output. On output line number k, the program should list the numbers from k to k^2 (line number to the power 2). Together with the sum of even numbers only. Note that there is a space betwee
Hi Anood, These links may help:- For loop- https://www.mathworks.com/help/matlab/ref/for.html Power- https://www.mathwor...
Write a Matlab program that prints a table with 10 lines of output. On output line number k, the program should list the numbers from k to k^2 (line number to the power 2). Together with the sum of even numbers only. Note that there is a space betwee
Hi Anood, These links may help:- For loop- https://www.mathworks.com/help/matlab/ref/for.html Power- https://www.mathwor...
5 years 前 | 0
已回答
I need help on part c d and f. Question is in comments
Hi Hunter, Refer to this link to refine the question.
I need help on part c d and f. Question is in comments
Hi Hunter, Refer to this link to refine the question.
5 years 前 | 0
已回答
upgrade matlab new licens needed?
Hi Ludvig, Please refer to this article and update the License file.
upgrade matlab new licens needed?
Hi Ludvig, Please refer to this article and update the License file.
5 years 前 | 0
已回答
How to fix Error 337
Hi Dylan, Please refer to the following answer provinding details about troubleshooting error 337:- https://www.mathworks.c...
How to fix Error 337
Hi Dylan, Please refer to the following answer provinding details about troubleshooting error 337:- https://www.mathworks.c...
5 years 前 | 0
已回答
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...
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...
5 years 前 | 0
已回答
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...
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...
5 years 前 | 0
| 已接受