문제를 풀었습니다


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

11년 초과 전

문제를 풀었습니다


Lightning strike distance: Writing a function
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...

11년 초과 전

질문


Does .save work correctly for Excel object in Excel 2010?
Hi, I used to run certain matlab scripts for formatting excel sheets. I use activex for accesing Excel(Office 2003) in those sc...

11년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
SIMULINK error: Unable to determine a fixed step size based on the sample times in the model
Immediate fix is to choose a variable step solver(in the solver type) if you really don't need a fixed step solver. If you inten...

11년 초과 전 | 0

| 수락됨

질문


Best Way to Update Simulink
Hi Everyone, I am migrating some of my models(with many linked libraries) from R2010b to 2011b. Can you please suggest what is ...

11년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Push Libraries without conflicts
Hi everyone, I have a large simulink model with many number of references to library. Some of the libraries are referenced at...

11년 초과 전 | 답변 수: 0 | 0

0

답변

답변 있음
How to generate an m-file only with MATLAB codes?
fName= 'abc.m'; fid = fopen(fName,'a'); %a for append, you can use 'w' instead to write freshly fprintf(fid ,'%s\n','a =...

11년 초과 전 | 0

| 수락됨

답변 있음
How do i add with subfolders to my pathway?
addpath(genpath(FolderName)); will add all subfolders under FolderName to MATLAB's Path. or manually as shown in the...

11년 초과 전 | 0

| 수락됨

답변 있음
How to delete a specific number from a vector, if there are duplicates after each other?
a = [1 2 3 4 5 0 4 6 5 0 0 98 0 0 1 2 23 4 0 0 0 2 5 8 0]; a(a(l)==0 & a(l+1)==0)=[];

11년 초과 전 | 0

답변 있음
What's the purpose of putting 'pause(0)' when you have a large code?
http://www.mathworks.com/matlabcentral/answers/7309-is-pause-a-superset-of-drawnow

11년 초과 전 | 0

답변 있음
renaming the image files
1. Get the Files in the directory... ([~,ListofImages]=dos('dir /b /s te_*.jpg');) 2. Get the Number from it..(1, 2, etc)...

11년 초과 전 | 0

| 수락됨

답변 있음
How can I use multiple files from uiget with importdata?
You have to use a for loop to load files one by one. delimiterIn = ','; [filename,pathname,~] = uigetfile({'*.*', 'All ...

11년 초과 전 | 0

질문


Migrating from MATLAB 2010b to 2011b!
Dear Everyone, I need to update some Simulink Models from MATLAB 2010b to MATLAB 2011b. 1) Is it sufficient if I open the Mod...

11년 초과 전 | 답변 수: 0 | 0

0

답변

답변 있음
Change sample rate for simulation in simulink
Your solver should be fixed size, and the fixed step size can be set at simulation->Configuration Parameters-> Fixed-step size (...

11년 초과 전 | 2

| 수락됨

답변 있음
Replace bad data in a 24x45x65 matrix. zeroes and values greater than 10 etc..
say some data is iData=rand(24,45,65); %This data is normalized=>the double values are between 0 and 1. You can get all...

거의 12년 전 | 0

답변 있음
is compression used to reduce the file size?
Every Image file has lots of redundant data. Transformation algorithms reduce the redundancies in the image data there by reduci...

거의 12년 전 | 1

| 수락됨

답변 있음
How to design FIR Filter with weights
if your input is x(n), output y(n)=W01*x(n)+W02*x(n-1)+W03*x(n-2)+W04*x(n-3)+W05*x(n-4); You have to handle y(1) to y(4) beca...

거의 12년 전 | 0

문제를 풀었습니다


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

거의 12년 전

문제를 풀었습니다


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

거의 12년 전

문제를 풀었습니다


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

거의 12년 전

문제를 풀었습니다


Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

거의 12년 전

문제를 풀었습니다


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

거의 12년 전

답변 있음
Can any one tell me how i convert analoge signal (Excel file captured from data aquisiton system) to digital form by Matlab
do an xlsread and get the data from Excel File. Clean Data if needed (removing NaN etc) Write a quantizer to get digital ...

거의 12년 전 | 0

답변 있음
how to give output file name at the time of execution in matlab..?
<http://www.mathworks.in/help/matlab/ref/uiputfile.html uiputfile> will be best for your needs!

거의 12년 전 | 0

| 수락됨

답변 있음
Truncation of a vactor
Or in other words, you might do x(x>10)

거의 12년 전 | 0

질문


Are MATLAB GUIs good? I think so, while others dont!
Hi Everyone, This is a very generic question. I have been using MATLAB GUIde for GUI development since its 2007b version. Thoug...

거의 12년 전 | 답변 수: 1 | 2

1

답변

답변 있음
How to convert xls to mat file ?
%get the values in the Excel using xlsread. [num,txt,raw] = xlsread(filename,sheet,xlRange); %combine data as you want: ...

거의 12년 전 | 37

답변 있음
Call a Software with Matlab
If you want to run an external software, <http://www.mathworks.in/help/matlab/ref/actxcontrol.html ActiveX> is the best way. MAT...

거의 12년 전 | 0

| 수락됨

답변 있음
Create a script using If statements
x=input('Input your number') if mod(x,2)==0 disp('Even Number'); else disp('Odd Number'); end

거의 12년 전 | 0

답변 있음
question on target tracking using simulink blocks
You can use a to Workspace block (Available under sinks in the Simulink Block Library). Say your co ordinate variables are X...

거의 12년 전 | 0

더 보기