Community Profile

photo

Simone Frauenfelder


Active since 2017

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


How to save variables from output of function as vector?
function [ A, B] = GetText(filename) fid = fopen(filename,'r'); x = textscan(fid,'%n%s','headerlines',1); ...

7 years ago | 2 answers | 0

2

answers

Question


How to save variables from function output to workspace?
function [ A, B] = GetText(filename) fid = fopen(filename,'r'); x = textscan(fid,'%n%s','headerlines',1); fclose(...

7 years ago | 1 answer | 0

1

answer

Question


Why is this loop not ending?
function [ number ] = SmallestNumber(n,a,b) % Smallest natural number function % inputs: % n = maximum value % a =...

7 years ago | 2 answers | 0

2

answers