Re: Program with different cases
On 6/21/2016 8:54 PM, ROJI wrote:> I'm writing a program that should allow a user to pick from a list of 20 different mathematical cases.>Once the case has been selected they are allowed to input...
View ArticleRe: Bathcing variables
Hi Teresa, I am currently facing a similar problem as Mads, where i need to Batch and Unbatch entities with a variable size. Could you please also send me the model for the more sophisticated batching...
View ArticleRe: Bathcing variables
Hi Robin, Which version of MATLAB are you using? I need this information because that decides the possible solutions. If you don't know which version. Please type in MATLAB command-line window:>>...
View ArticleRe: Bathcing variables
Hi Wei, i am using Matlab 2015b. MATLAB Version: 8.6.0.267246 (R2015b) Thanks in advance, Robin "Wei Li" wrote in message <noigtq$g6e$1@newscl01ah.mathworks.com>...> Hi Robin,> > Which...
View ArticleRe: Bathcing variables
Hi Robin and Wei, If you were using 16a (the major update to SimEvents), you could use some new features for this. But since you are using 15b, I can send you the model I sent Mads. (I will send it in...
View ArticleRe: Bathcing variables
Hi Teresa, I also have this problem. Would you please send me the batching and unbatching blocks. My version is 2015b. Thank you so much. Paul "Teresa Hubscher-Younger" wrote in message...
View ArticleRe: Bathcing variables
Hi Paul, I'll send you the model that I sent to Mads. Please let me know if it's useful. -Teresa "Po Lin" wrote in message <ntgc07$bt5$1@newscl01ah.mathworks.com>...> Hi Teresa, > > I...
View ArticleCreating changing variables in function workspace
Dear all, I am trying to create and save some structure into a auto generated variables. I am lost as to how to assign a new variable name from this auto generated lists. %Step 1: Create a structure....
View Articleequation systems with the number of variables changing
I am trying to solve equation systems, but the number of variables (and equations) depends on the output of a function. How can I do that?
View ArticleVariable accessibility in Matlab GUI
Hi, I am importing data from Excel and storing them in Column Vectors in Matlab. When I try to run a matlab File which uses this imported data for processing, it does not give me any trouble. However,...
View ArticleRe: Bathcing variables
Hi Teresa, Mind you please send me the model as well . I use 2015b. Much Appreciated. Regards, Zeinab "Teresa Hubscher-Younger" wrote in message <ntgeq8$hl4$1@newscl01ah.mathworks.com>...> Hi...
View ArticleHow to ask MATLAB if a variable is equal to three different values?
I'm trying to ask matlab if the (4,3) value of matrix G is equal to 5, 2 or 1. The matrix value of G(4,3)==2, but when I input (G(4,3)==(2||1||5)) it says the ans =0 How do I ask if the variable value...
View ArticleRe: How to ask MATLAB if a variable is equal to three different values?
"Christine Braganza" wrote in message <oblj0f$i9n$1@newscl01ah.mathworks.com>...> I'm trying to ask matlab if the (4,3) value of matrix G is equal to 5, 2 or 1.> > The matrix value of...
View ArticleRe: How to ask MATLAB if a variable is equal to three different values?
"Torsten" wrote in message <obll07$ml9$1@newscl01ah.mathworks.com>...> "Christine Braganza" wrote in message <oblj0f$i9n$1@newscl01ah.mathworks.com>...> > I'm trying to ask matlab...
View ArticleMake some rows null and to create flag column using a condition
Dear Experts, I have this question in MATLAB, If suppose I have a table with Stock_code, Date and Close price values like in below example, then, I will have to create additional columns like 'count',...
View ArticleRe: Make some rows null and to create flag column using a condition
"Lakshmi Gandhi" wrote in message <oc49o7$hq8$1@newscl01ah.mathworks.com>...> Dear Experts,> > I have this question in MATLAB, If suppose I have a table with Stock_code, Date and Close...
View ArticleAssigning workspace variable to another
Consider I have a variable 'target' {2000x8 double} which changes its value every iteration {max ten iterations}. I want to save this variable 'target' at end of every iteration. However, I want to...
View ArticleOne variable with multiple values depending on conditions
I am relatively new to MATLAB and programming in general, so to better familiarize myself with it, I have been writing scripts for simple games (coin flip, dice roll, etc.) I wanted to try something...
View ArticleRe: One variable with multiple values depending on conditions
On 04/12/2017 9:22 AM, Edward Mercure wrote:> I am relatively new to MATLAB and programming in general, so to better> familiarize myself with it, I have been writing scripts for simple games>...
View ArticleRe: One variable with multiple values depending on conditions
On 04/12/2017 4:20 PM, dpb wrote: ...> What you're looking for is to not define A as a vector ever; only assign> either 1/11 initially and then do the test. Or, alternatively,> initialize A to...
View Article