Question


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...

12 years ago | 0 answers | 0

0

answers

Answered
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

12 years ago | 0

| accepted

Question


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...

12 years ago | 0 answers | 0

0

answers

Answered
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, ...

12 years ago | 0

Answered
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 ...

12 years ago | 1

Answered
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...

12 years ago | 0

Answered
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> ?

12 years ago | 0

Answered
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);

12 years ago | 0

Answered
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 ...

12 years ago | 0

Solved


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...

12 years ago

Solved


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 ...

12 years ago

Solved


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...

12 years ago

Solved


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

12 years ago

Solved


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....

12 years ago

Solved


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...

12 years ago

Solved


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

12 years ago

Solved


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

12 years ago

Question


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...

12 years ago | 0 answers | 1

0

answers

Answered
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...

12 years ago | 0

Answered
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...

12 years ago | 0

Answered
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;

12 years ago | 0

| accepted

Answered
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...

12 years ago | 0

Answered
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...

12 years ago | 0

Answered
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....

12 years ago | 0

| accepted

Answered
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...

12 years ago | 0

| accepted

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

12 years ago | 0

Answered
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 ...

12 years ago | 0

Answered
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...

12 years ago | 1

Answered
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'); ...

12 years ago | 0

Answered
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...

12 years ago | 2

Load more