Community Profile

photo

Guru


Medtronic

Actif depuis 2013

Statistiques

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

Afficher les badges

Content Feed

Afficher par

A répondu
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...

plus de 10 ans il y a | 2

A répondu
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...

plus de 10 ans il y a | 0

A répondu
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...

plus de 10 ans il y a | 0

A répondu
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 ...

plus de 10 ans il y a | 0

A répondu
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...

plus de 10 ans il y a | 0

| A accepté

A répondu
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...

plus de 10 ans il y a | 0

A répondu
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...

plus de 10 ans il y a | 0

| A accepté

A répondu
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...

plus de 10 ans il y a | 0

A répondu
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 ...

plus de 10 ans il y a | 0

| A accepté

A répondu
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 ...

plus de 10 ans il y a | 1

| A accepté

A répondu
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...

plus de 10 ans il y a | 0

A répondu
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...

plus de 10 ans il y a | 0

A répondu
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...

plus de 10 ans il y a | 0

A répondu
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, ...

plus de 10 ans il y a | 0

A répondu
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 ...

plus de 10 ans il y a | 0

| A accepté

A répondu
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...

plus de 10 ans il y a | 0

| A accepté

A soumis


linecount
Counts the number of lines in a text file

plus de 10 ans il y a | 2 téléchargements |

A répondu
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)...

plus de 10 ans il y a | 8

A répondu
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...

plus de 10 ans il y a | 0

| A accepté

A répondu
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 ...

plus de 10 ans il y a | 0

| A accepté

A répondu
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...

plus de 10 ans il y a | 3

A répondu
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 ...

plus de 10 ans il y a | 0

A répondu
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...

plus de 10 ans il y a | 0

| A accepté

A répondu
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...

plus de 10 ans il y a | 0

A répondu
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...

plus de 10 ans il y a | 1

| A accepté

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

plus de 10 ans il y a | 0

| A accepté

A répondu
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 ...

plus de 10 ans il y a | 0

| A accepté

A répondu
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...

plus de 10 ans il y a | 1

A répondu
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...

plus de 10 ans il y a | 0

| A accepté

A répondu
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...

plus de 10 ans il y a | 0

Charger plus