Frage


Do not have run option for my .m files in my Windows Explorer.
Hi everyone, I do not have run option for my .m files in my Windows Explorer. How can I have it? Is it some installation issu...

mehr als 12 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
howto change phase delay of pulse generator externally?
You can use a set_param command to do this. set_param(BlockName,'PhaseDelay','15');%Phase Delay of 15 seconds

mehr als 12 Jahre vor | 0

| akzeptiert

Frage


How to set Hexa Decimal Value to a constant block in Simulink?
Hello everyone, greetings. Is there a way to set the value of a Constant Block in Simulink Model to Hexa Decimal Number? Th...

mehr als 12 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
user input for xlsread
I tried. Supposedly, xlsread with -1 as parameter only reads the adjacent columns. If you choose columns that are not adjacent, ...

mehr als 12 Jahre vor | 0

Beantwortet
Summation loop (sigma notation) help
What yours does is sum of squares of natural numbers from 1 to 1000 +0.5. That is 0.5+1^2+2^2+3^2+...+1000^2; Is this what ...

mehr als 12 Jahre vor | 1

Beantwortet
problem in working with simulink
In Short you have to choose the right solver for your model.. Please look into this... http://www.mathworks.in/matlabcentr...

mehr als 12 Jahre vor | 0

Beantwortet
I am developing a small programme in Matlab using GUI. How can I generate reports in Matlab?
You mean <http://www.mathworks.in/help/matlab/ref/publish.html Publish> ?

mehr als 12 Jahre vor | 0

Beantwortet
How can control the phase delay of the signal generated by "Pulse Generator" block externally?
When the external signal comes, do a set_param(BlockName,'PhaseDelay',PhaseDelayValue);

mehr als 12 Jahre vor | 0

Beantwortet
How to pick an integer in a box using up and down arrows in a gui
If you are really a perfectionist and want button with symbols ^ for up and the inverted ^ for down, you can use cData property ...

mehr als 12 Jahre vor | 0

Gelöst


Implement a ROT13 cipher
Replace each character in string s1 with the character that is shifted 13 positions from it (wrap back to the beginning if neces...

mehr als 12 Jahre vor

Gelöst


The Goldbach Conjecture, Part 2
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

mehr als 12 Jahre vor

Gelöst


Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...

mehr als 12 Jahre vor

Gelöst


Love triangles
Given a vector of lengths [a b c], determines whether a triangle with non-zero area (in two-dimensional Euclidean space, smarty!...

mehr als 12 Jahre vor

Gelöst


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

mehr als 12 Jahre vor

Gelöst


Maximum running product for a string of numbers
Given a string s representing a list of numbers, find the five consecutive numbers that multiply to form the largest number. Spe...

mehr als 12 Jahre vor

Gelöst


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

mehr als 12 Jahre vor

Gelöst


Test for balanced parentheses
Given the input inStr, give the boolean output out indicating whether all the parentheses are balanced. Examples: * If ...

mehr als 12 Jahre vor

Frage


Rename a Signal Builder group from the Command Window
Is there a way to rename a Signal Builder group name using command window? I understand that i can click on the Signal Builder G...

mehr als 12 Jahre vor | 0 Antworten | 1

0

Antworten

Beantwortet
Keyboard to matlab gui
You can either call an instance of on screen key board [the one that comes with windows or whatever os you have] or call another...

mehr als 12 Jahre vor | 0

Beantwortet
User defined function error
Did you run the code in command window? Matlab functions should be in m files, and as said above, the name of the function sh...

mehr als 12 Jahre vor | 0

Beantwortet
swap the values in matrix
InMtx=[2 3 4 5 6 3 3 4 2]; a=2; b=3; Twos=InMtx==a; Threes=InMtx==b; InMtx(Twos)=b; InMtx(Threes)=a;

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
In Simulink, how to substitute the default configuration set, not adding a new one??
% Simulink parameters which has to be checked Configuration.Set = { 'SolverType'; ... 'Solver'; ... 'S...

mehr als 12 Jahre vor | 0

Beantwortet
How do I create a new line after every 3 characters in a text file?
fileID=fopen('InputFile.txt','r'); AllText = fscanf(fileID, '%s') TextLength=length(AllText); NoOfLines=ceil(TextLeng...

mehr als 12 Jahre vor | 0

Beantwortet
Write a script that...
bBirdIsHungry=input('Is the Bird Hungry? [1/0]'); bItRains=input('Does it Rain? [1/0]');%You can get yes or no if you want....

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
How to select a regionprops from a popup menu in a GUI?
From what I see, you should have done mal = regionprops(CC,RegPropType) instead of mal = regionprops(CC,'RegProp...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
Numeric data display on GUI
use <http://www.mathworks.in/help/matlab/ref/uitable.html uitable> :)

mehr als 12 Jahre vor | 0

Beantwortet
how to access workspace variablle in loop?
If it is an m script, you can use the workspace variable directly by calling its name. if it is an m function, then prior to ...

mehr als 12 Jahre vor | 0

Beantwortet
can u explain the logic of this program.while am running the program i got the error like this"Error using alphatrim (line 3) Not enough input arguments.""can u suggest the solution
Kindly format the code while posting using the {}Code button at the top of the window you type in. As to the error you get, d...

mehr als 12 Jahre vor | 1

Beantwortet
Can I change the name of a parameter of a existing simulink block?
you can use a set_param to set all the properties of a block. set_param(BlockPath,'PropertName','PropertyValue'); ...

mehr als 12 Jahre vor | 0

Beantwortet
how to delete the dot in a string
you have to handle the last dot(before file extension) and the other dots separately. str='bbc.ed.123.f.txt'; idx=strfin...

mehr als 12 Jahre vor | 2

Mehr laden