답변 있음
sorting a vector by another vector
doc sort do a sort on X. sort gives two outputs, the sorted array and the *index* for sorting. Using the *index* for sor...

거의 9년 전 | 2

답변 있음
How to create inputdlg for running program by its path?
You have two arguments in prompt. 1.'Zadejte svou adresu pro spuštění EIDORS:' and 2.'z' but only one default value in *defa...

거의 9년 전 | 0

답변 있음
Problem Reading Data from .txt File with textscan.
When I open your txt file, i find a lot of spaces even between the digits of a floating number [example try opening it in MATLAB...

거의 9년 전 | 2

| 수락됨

답변 있음
how to find indices of a particular element in a matrix ?
max function returns two outputs. [Y,I] = max(X) I says the index of the max element. So you can run a loop over numbe...

거의 9년 전 | 1

| 수락됨

답변 있음
Is it possible to add a library to the Simulink Library Browser in Matlab Simulink 7.6 (R2010b)?
function blkStruct = slblocks BlocksetName = 'YourLibrary';%mdl file name Browser(1).Name = 'My Library';%How it appear...

거의 9년 전 | 1

| 수락됨

답변 있음
Given a vector containing N integers, write an M-flies to calculate how many elements in this vector are odd and how many are even. example if the given vector is :
disp(['The number of even elements is ', num2str(length(input_v(mod(input_v,2)==0)))]); disp(['The number of odd elements is ...

거의 9년 전 | 1

답변 있음
Error:Error using fileparts Too many output arguments.Please tell me changes in code
If you are using *MATLAB newer than R2010b*, and code written with *old MATLAB (R2010B or older)* you might get this error becau...

거의 9년 전 | 1

답변 있음
" Undefined operator '==' for input arguements of type of 'cell'" - thanks
Check the datatype of the operands at the "==". One or more of them are of cell type. If you need them to be cell, then re...

거의 9년 전 | 0

답변 있음
Conflict between dialog box and button?
Please check if you have used modal property in the dialog box? %An example which blocks execution until the user res...

거의 9년 전 | 0

답변 있음
Can I define variable in matlab?
From what I understand from your code, you can simply put y = X (int_data); [ Example: X = [2,4,6,8,10,12,14,16,18] ...

거의 9년 전 | 0

답변 있음
How can I make uitable with editable columns؟؟؟
In the GUIDE window, you can double click the table object and set the Column Editable property by selecting Data. If you wan...

거의 9년 전 | 0

답변 있음
Get Matlab Code for Simulink input port
set_param, get_param?

거의 9년 전 | 0

답변 있음
How can I read a number of excel rows with respect to n that can be inserted by user before filling the table?
get n as input from user using *input* command. then form range string using concatenation. eg:, sRange = ['C6:C', num2str...

거의 9년 전 | 0

| 수락됨

답변 있음
Clear directories from "Find Files" tool
This information is stored in your matlab.prf file [available in (C:\Users\abc\AppData\Roaming\MathWorks\MATLAB\R2015b) Open ...

거의 9년 전 | 3

| 수락됨

답변 있음
How to Create a list and save it in a txt file?
%Open a log file for writing fID= fopen(logfilename,'w'); ..your code... % Write filename into logfile fprintf(fID...

거의 9년 전 | 0

| 수락됨

답변 있음
Why I receive Error: Expression or statement is incomplete or incorrect?
You have a ":" instead of ";" in >> Y=sqrtm(A):

거의 9년 전 | 0

답변 있음
How to combine multiple saved .fig files into one without losing properties?
As far as I know, there is no way. BUT, .fig files are essentially .mat files (with a different extension - you may rename a .fi...

거의 9년 전 | 0

답변 있음
convenient way to read and store values in xml file
https://www.mathworks.com/help/matlab/ref/xmlread.html

거의 9년 전 | 0

| 수락됨

답변 있음
Undefined operator '/' for input arguments of type 'cell'.
division or / is not defined for cell datatype. So make the numerator and denominator to matrix types[using cell2mat].

거의 9년 전 | 0

| 수락됨

답변 있음
How can I load a csv file into matlab?
csvread is more useful. Please try. http://in.mathworks.com/help/matlab/ref/csvread.html

거의 9년 전 | 0

답변 있음
How to get the updated name after add_block command with MakeNameUnique and with duplicate name ?
add_block's output will be the handle of the newly added block. From this, the name of the newly inserted block can be found out...

거의 9년 전 | 0

| 수락됨

답변 있음
What is the maximum length of a label(Inport, Outport)
https://www.mathworks.com/help/simulink/slref/simulink-limits.html is this information helpful?

거의 9년 전 | 0

| 수락됨

답변 있음
I want to create an array as 1_1, 1_2, 1_3, 1_4, 2_1,2_2, 2_3, 2_4 .........24_1,24_2,24_3,24_4......help me out please
allCells = []; for loop1=1:24 for loop2=1:4 sThisElement = [num2str(loop1), '_', num2str(loop2)]; allCells = [allCel...

거의 9년 전 | 0

| 수락됨

답변 있음
How to upgrade 2013a simulink model to 2016b?
you can use slupdate/upgradeadvisor for doing this. https://in.mathworks.com/help/simulink/slref/upgradeadvisor.html load_...

거의 9년 전 | 0

답변 있음
Matlab Startup and insilsation
matlabrc is the script that gets called after MATLAB starts. This will be available in for example "C:\Programme\Matlab\R201...

거의 9년 전 | 0

답변 있음
Matlab Slow to Open Files
Is MATLAB opening slowly? If yes, I would look at 1. Is my MATLAB using a Network License and the License Server is no more...

거의 9년 전 | 0

| 수락됨

답변 있음
Matlab jokes or puns
MATLAB Central is a "Blatant Calmer" , "A Clam Art Blent",-- what more anagrams can you think of?

9년 초과 전 | 1

질문


Input values from output of a Simulink Model
Hello All, I am currently working on a project, where given a output value of a model, I have to find the input values and the ...

대략 10년 전 | 답변 수: 0 | 0

0

답변

문제를 풀었습니다


Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

대략 10년 전

더 보기