Community Profile

photo

Guru


Medtronic

Aktiv seit 2013

Followers: 0   Following: 0

Kontakt

Statistiken

All
  • Knowledgeable Level 3
  • 5-Star Galaxy Level 1
  • First Submission
  • Knowledgeable Level 2
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
what happend to my 'deploytool'
Do you have MATLAB Compiler installed? Type VER in the command line and make sure your current MATLAB version sees the MATLAB C...

fast 11 Jahre vor | 2

Beantwortet
Put a % sign inside of an 'edit text' box behind a number in the box
Create a static text box where you put in the % for the string value and position it immediately to the right of the edit text b...

fast 11 Jahre vor | 0

Beantwortet
automatic change a block number in a mask, coming from simulink library, when I drag it more than onetime in my working space
Are you referring to the block name of a block within a masked subsystem that you want to change the name of? If so, no you c...

fast 11 Jahre vor | 0

Beantwortet
How to delete rows/columns of a matrix in Embedded Matlab Fcn?
The Embedded MATLAB Fcn is intended for MATLAB that would resemble C code. How do you suppose you can delete rows/columns from ...

fast 11 Jahre vor | 0

Beantwortet
Create an internal loop in Simulink simulation
The simplest way to implement this is to use Triggered or Function-call subsystems in Simulink driven by Stateflow (for the loop...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
FFT-subdivide the frequency range
Without knowing anything about the signal/data you are taking the FFT of, this is impossible. If you think your frequency range...

fast 11 Jahre vor | 0

Beantwortet
Problem with function handle? or something.
Well, from plotting your input-output behavior of your anonymous function gv(), it converges to about the value of R*T. In othe...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
How to help Stateflow locate the C-compiler?
If you are having problems after running mex -setup, then the path to the C compiler is incorrect, thus it cannot find the C com...

fast 11 Jahre vor | 0

Beantwortet
what should be the format of .mat file
A .MAT file in MATLAB is a binary file format that MATLAB uses which is a direct copy of its workspace. The recommended way to ...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
How to make an if/else statement
FIND with the conditions is actually the way to do this. % First read in your data file into MATLAB, let's say variable A ...

fast 11 Jahre vor | 1

| akzeptiert

Beantwortet
Why is "undefined" a variable that I have previously defined???
For future reference, putting a little MATLAB code down makes things a lot more clear than trying to explain it with words, espe...

fast 11 Jahre vor | 0

Beantwortet
How do I initialize a n * m colormap matrix
Hmm, you do realize that colormap is intended to serve as a link between values of a matrix and what color they should appear as...

fast 11 Jahre vor | 0

Beantwortet
Where to download fuzzy tools for matlab 2013 b
You can either contact your MathWorks sales rep or order it online through MathWorks so that it can be added to your license and...

fast 11 Jahre vor | 0

Beantwortet
Why MATLAB uses the storage of variables in form of Metrics/multi dimentional arrays ?
What you see in the variable editor is based upon how developers thought it to be most intuitive for users to see the variable, ...

fast 11 Jahre vor | 0

Beantwortet
Saving base workspace to .mat file multiple times in GUIDE GUI
Yes it's possible. All you really need is to have a means to choose what to name your MAT-file from your GUI. This can be ...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Fit and Polyfit (LAR vs. Least squares)
You can find out by asking for the output argument: [fitobject,gof,output] = fit(x,y,fitType) output.algorithm But th...

fast 11 Jahre vor | 0

| akzeptiert

Gesendet


linecount
Counts the number of lines in a text file

fast 11 Jahre vor | 2 Downloads |

Beantwortet
Pre-determining the number of lines in a text file
Just out of boredom, here's a function: function n = linecount(fid) n = 0; tline = fgetl(fid); while ischar(tline)...

fast 11 Jahre vor | 8

Beantwortet
I'm trying to create a code that doing something like this ......
You had the answer, just had to create a variable of the negative values. I am assuming that v = data So just change yo...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Plotting data excel into matlab
Read in the data into matlab using xlsread, then plot them once they are read into the MATLAB workspace doc xlsread doc ...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
How to read every nth line with textscan
Honestly what you are trying to do is something that doesn't need textscan to read it in. The benefit that textscan provides is...

fast 11 Jahre vor | 3

Beantwortet
repeating for loop under another for loop
When looking at nested for loops like yours, the first question I always ask is why are you using a for loop to begin with? To ...

fast 11 Jahre vor | 0

Beantwortet
Get multiple indices coinciding closest to a certain value
The code you have is fine, what you have are two minima values that you are seeking. So by breaking up your search points you c...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Mutliple Copies of MATLAB on the same machine -- how to set the default
This is an operating system question/task scheduler question and not a MATLAB question. That being said, simply choose the pr...

fast 11 Jahre vor | 0

Beantwortet
How to stop my "if" statement in a "for" loop
Not clear on your question exactly, but: Q: How to stop an if statement in a for loop? A: Either make the if statement false...

fast 11 Jahre vor | 1

| akzeptiert

Beantwortet
Simple arithmetic calculation question
Well the error is pretty obvious. The following lines is using parenthesis incorrectly: data.Q02=str2double(((datastr(75:8...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Saved data from Matlab gets corrupted?
The reason why it's wrong is explained by Walter Roberson. What you can do to probably get your intended result is to use ...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
waitforbuttonpress do not respond to keyboard
Is there a reason you chose to use waitforbuttonpress if you are doing it that frequently?? A much easier and better solution...

fast 11 Jahre vor | 1

Beantwortet
suggestion for sound analysis audio player GUI.
I believe there is (or used to be) a demo in the Signal Processing Toolbox called specgramdemo This should get you a sta...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Simple Code taking too much time
This simply looks to be a case where you are trying to make some result converge to an answer, and the system is not set up to c...

fast 11 Jahre vor | 0

Mehr laden