Community Profile

photo

Guru


Medtronic

Con actividad desde 2013

Followers: 0   Following: 0

Contacto

Estadísticas

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

Ver insignias

Feeds

Ver por

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

casi 11 años hace | 2

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

casi 11 años hace | 0

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

casi 11 años hace | 0

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

casi 11 años hace | 0

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 0

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 0

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 1

| aceptada

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

casi 11 años hace | 0

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

casi 11 años hace | 0

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

casi 11 años hace | 0

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

casi 11 años hace | 0

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 0

| aceptada

Enviada


linecount
Counts the number of lines in a text file

casi 11 años hace | 2 descargas |

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

casi 11 años hace | 8

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 3

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

casi 11 años hace | 0

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 0

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

casi 11 años hace | 1

| aceptada

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 1

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 0

Cargar más