Nitish Reddy Kotkur
Followers: 0 Following: 0
Statistics
12 Questions
0 Answers
RANK
196 976
of 294 421
REPUTATION
0
CONTRIBUTIONS
12 Questions
0 Answers
ANSWER ACCEPTANCE
50.0%
VOTES RECEIVED
0
RANK
of 20 110
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 151 653
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
My error is the ever popular ::::Error using fprintf Invalid file identifier. Use fopen to generate a valid file identifier. Error in pro1 (line 7) fprintf(fileID,'edges\t initial_nodes\t nodes_after_reduction\t difference \n')
prompt="enter g value"; g=input(prompt);%To choose the type of graph if g == 1 fileID = fopen('output2\cycle_graph_o...
mer än 4 år ago | 1 answer | 0
1
answerQuestion
My error is the ever popular ::::Error using fprintf Invalid file identifier. Use fopen to generate a valid file identifier. Error in pro1 (line 7) fprintf(fileID,'edges\t initial_nodes\t nodes_after_reduction\t difference \n')
if g == 1 fileID = fopen('output2\cycle_graph_output.txt','w')%Creates a output text file in folder output2 ...
mer än 4 år ago | 1 answer | 0
1
answerQuestion
how to avoid floating point error and figure out a way to break out of this loop such that it generates correct answer
function [] = lanczos(A, m) this is a function whick takes A as input which is a matrix and reduces it to smaller size. And i ...
nästan 5 år ago | 1 answer | 0
1
answerQuestion
creating a matrix in matlab using a text file
type output.txt; A = readmatrix('output.txt'); A This is the output.txt file [[1 2 2 0 0] [2 1 0 0 2] [2 0 1 2 0] [0 0...
nästan 5 år ago | 1 answer | 0
1
answerQuestion
how can i give output of a python file as input to a matlab matrix
function [] = lanczos(A, m) this is a function i'm using in matlab. the parameter 'A' is matrix and i want to give input to A f...
nästan 5 år ago | 1 answer | 0
1
answerQuestion
Assign a part of file name to a variable
myfolderinfo = dir('some_random_folder') ; N = length(myfolderinfo) ; for i = 3:N thisfile = myfolderinfo(i).name so...
nästan 5 år ago | 1 answer | 0
1
answerQuestion
reading large text files into matrix
im trying to read a text file containing matrix A = readmatrix('output1.txt','Whitespace',' []'); when i execute it its displ...
nästan 5 år ago | 1 answer | 0
1
answerQuestion
read a matrix from a text file
im trying to read a text file containing matrix A = readmatrix('output1.txt','Whitespace',' []'); when i execute it its displ...
nästan 5 år ago | 2 answers | 0
2
answersQuestion
iterate through text files and read them as a matrix
myfolderinfo=dir('dense_gnm_random_graph');%dense_gnm_random_graph is the folder which contains text files N=length(myfolderinf...
nästan 5 år ago | 1 answer | 0
1
answerQuestion
iterate through multiple files in a folder
function [] = lanczos(A, m) A = readmatrix('output1.txt','Whitespace',' []'); here A reads a single text file. But i wanted ...
nästan 5 år ago | 2 answers | 0
2
answersQuestion
generate unit vectors based on matrix size
function [] = lanczos(A, m) A = readmatrix('output1.txt','Whitespace',' []'); [n,k] = size(A); V = zeros(k,k); %V(:,2) = ran...
nästan 5 år ago | 1 answer | 0
1
answerQuestion
how to break from the following for loop when beta( J+1) become zero
for j=2:inf w = A*V(:,j) - beta(j)*V(:,j-1); alpha(j) = w'*V(:,j); w = w - alpha(j)*V(:,j); beta(j+1) = norm...
ungefär 5 år ago | 1 answer | 0