統計
MATLAB Answers
15 質問
0 回答
ランク
of 170,969
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
質問
My script is not giving me the title, xlabel, and ylabel that I am asking so how can I fix it?
function [xy]= plotData(filename,markers) %data=xlsread('data.xlsx'); [num,txt]=xlsread(filename); x=num(:,1); y=num(:,2); ...
約7年 前 | 1 件の回答 | 0
1
回答質問
How could I fix my script from the comments that were given?
Write a function plotData(filename,markers) Takes an input the filename of an Excel file which contains two columns of numbers ...
約7年 前 | 1 件の回答 | 0
1
回答質問
How could I fix my last function(less=isLessWord(wordA,wordB)) in my code to get the result I want without using any built-in functions?
function [m, pos]=findSmallest(array) m = array{1}; pos=1; for i=2:length(array) if isLessWord(a...
約7年 前 | 1 件の回答 | 0
1
回答質問
How to fix my recursive function?
Write a recursive function mostFactors(a,b,fact) that does the following: 1. Takes as an input 3 positive integers. 2. Of ...
約7年 前 | 2 件の回答 | 0
2
回答質問
How can I fix my function?
function numReplaced=replaceMultiples(fname,num) clc num=0 fname='example.txt'; ifn=fname;...
約7年 前 | 1 件の回答 | 0
1
回答質問
How could I get my function to produce this?
function student=update(student,field,value) student.name=student; %full name of student student.gpa=value; %GPA o...
約7年 前 | 1 件の回答 | 0
1
回答質問
How could I fix my script?
If I am using the function rotatedText=rot(text,n). First things for say, I have to make sure that my script should apply a Caes...
約7年 前 | 1 件の回答 | 0
1
回答質問
How to fix my function script?
this is edited my script: function[s,m]=collatz() %This function will show the steps and maxvalue of even and odd natura...
7年以上 前 | 1 件の回答 | 0
1
回答質問
How would my script to show this in the command window?
My function is [s,m]=collatz(X). If I want s to equal the number of steps it takes for the number to equal one then how would I ...
7年以上 前 | 1 件の回答 | 0
1
回答質問
Help on my function script?
My function is [s,m]=collatz(the input number) which I used x=input('Enter a natural number:'). If I want an even input to be di...
7年以上 前 | 1 件の回答 | 0
1
回答質問
How would I do this with a while loop script?
I allow the user to input their own vector. Then my script shows the vector as a decimal number but with the integers as zeros. ...
7年以上 前 | 1 件の回答 | 0
1
回答質問
How can I get the first and last element to switch for a vector?
If I am trying to use a code to use for any vector I put in my script, how could I get the first and last element to swap places...
7年以上 前 | 1 件の回答 | 0
1
回答質問
How can I only swap the first and last element of a vector?
The vector I have is [-5 4 -4 6 8 -3], so how could I use a code/piece of script to get [-3 4 -4 6 8 -5]?
7年以上 前 | 2 件の回答 | 0
2
回答質問
How could I add a zero before the last element in any size vector?
For example, if I was given vec[-5 4 -4 6 8 -3], how could it become vec[-5 4 -4 6 8 0 -3]? In addition, the code could work for...
7年以上 前 | 2 件の回答 | 0
2
回答質問
How can I only get the product of only the positive entries of a vector?
say the vector is [-5 4 -4 6 8 -3], how can I get the product of only the positive elements? I know the answer I am looking to g...
7年以上 前 | 1 件の回答 | 0
